Skip to content

After fresh installation - no endpoint found #80

@derhoeppi

Description

@derhoeppi

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:

`

rest980@2.1.0 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions