Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After fresh installation - no endpoint found #80

Open
derhoeppi opened this issue Jan 28, 2025 · 0 comments
Open

After fresh installation - no endpoint found #80

derhoeppi opened this issue Jan 28, 2025 · 0 comments

Comments

@derhoeppi
Copy link

derhoeppi commented Jan 28, 2025

First of all - this is a great app for my roomba. I use this app to years hoste on Raspberry 3. No the time is come to migrate them to a new system. And there is my problem. I installed them like npm install and copy the default.json (config) informations to the new system.
If i run npm start then it starts but if i request a command then i get the following:

`

[email protected] start
node ./bin/www
(node:10065) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
rest980:server Listening on port 3000 +0ms
POST /api/local/action/stop 404 6.741 ms - 2337
Error: Endpoint not found.
at /opt/roomba/rest980/app.js:62:13
at Layer.handle [as handle_request] (/opt/roomba/rest980/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/opt/roomba/rest980/node_modules/express/lib/router/index.js:317:13)
at /opt/roomba/rest980/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/opt/roomba/rest980/node_modules/express/lib/router/index.js:335:12)
at next (/opt/roomba/rest980/node_modules/express/lib/router/index.js:275:10)
at /opt/roomba/rest980/node_modules/express/lib/router/index.js:635:15
at next (/opt/roomba/rest980/node_modules/express/lib/router/index.js:260:14)
at Function.handle (/opt/roomba/rest980/node_modules/express/lib/router/index.js:174:3)
at router (/opt/roomba/rest980/node_modules/express/lib/router/index.js:47:12)
at Layer.handle [as handle_request] (/opt/roomba/rest980/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/opt/roomba/rest980/node_modules/express/lib/router/index.js:317:13)
at /opt/roomba/rest980/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/opt/roomba/rest980/node_modules/express/lib/router/index.js:335:12)
at next (/opt/roomba/rest980/node_modules/express/lib/router/index.js:275:10)
at /opt/roomba/rest980/node_modules/express/lib/router/index.js:635:15
at next (/opt/roomba/rest980/node_modules/express/lib/router/index.js:260:14)
at jsonParser (/opt/roomba/rest980/node_modules/body-parser/lib/types/json.js:110:7)
at Layer.handle [as handle_request] (/opt/roomba/rest980/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/opt/roomba/rest980/node_modules/express/lib/router/index.js:317:13)
at /opt/roomba/rest980/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/opt/roomba/rest980/node_modules/express/lib/router/index.js:335:12)
`

I don't know where i can locate the failure to solve it. Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant