VeraHomeKitBridge icon indicating copy to clipboard operation
VeraHomeKitBridge copied to clipboard

Weird error 127 (yes it actually says that)

Open m2mexpert opened this issue 8 years ago • 2 comments

Getting the following error running on an Ubuntu VM. Not even sure where to start with this one.

server:~/VeraHomeKitBridge$ npm run start

[email protected] start /home/jvilla/VeraHomeKitBridge node app.js

sh: 1: node: not found npm ERR! weird error 127 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

m2mexpert avatar Dec 04 '16 22:12 m2mexpert

Your nodejs is not fully installed. You probably have some missing dependencies.

Try sudo npm install -g http-server

rafale77 avatar Dec 04 '16 22:12 rafale77

Ran the above command with the following output that resulted in no change to the "weird" error.

linuxvm:~$ sudo npm install -g http-server npm http GET https://registry.npmjs.org/http-server npm http 304 https://registry.npmjs.org/http-server npm http GET https://registry.npmjs.org/union npm http GET https://registry.npmjs.org/colors/1.0.3 npm http GET https://registry.npmjs.org/corser npm http GET https://registry.npmjs.org/ecstatic npm http GET https://registry.npmjs.org/http-proxy npm http GET https://registry.npmjs.org/opener npm http GET https://registry.npmjs.org/portfinder npm http GET https://registry.npmjs.org/optimist npm http 304 https://registry.npmjs.org/union npm http 304 https://registry.npmjs.org/opener npm http 304 https://registry.npmjs.org/portfinder npm http 304 https://registry.npmjs.org/optimist npm http 304 https://registry.npmjs.org/corser npm http 304 https://registry.npmjs.org/colors/1.0.3 npm http 304 https://registry.npmjs.org/ecstatic npm http 304 https://registry.npmjs.org/http-proxy npm http GET https://registry.npmjs.org/async/0.9.0 npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/eventemitter3 npm http GET https://registry.npmjs.org/requires-port npm http GET https://registry.npmjs.org/wordwrap npm http GET https://registry.npmjs.org/minimist npm http GET https://registry.npmjs.org/qs npm http 304 https://registry.npmjs.org/mkdirp npm http 304 https://registry.npmjs.org/async/0.9.0 npm http 304 https://registry.npmjs.org/minimist npm http GET https://registry.npmjs.org/he npm http GET https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/url-join npm http 304 https://registry.npmjs.org/wordwrap npm http 304 https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/minimist/0.0.8 npm http 304 https://registry.npmjs.org/eventemitter3 npm http 304 https://registry.npmjs.org/qs npm http 304 https://registry.npmjs.org/minimist/0.0.8 npm http 304 https://registry.npmjs.org/requires-port npm http 304 https://registry.npmjs.org/he npm http 304 https://registry.npmjs.org/url-join /usr/local/bin/http-server -> /usr/local/lib/node_modules/http-server/bin/http-server /usr/local/bin/hs -> /usr/local/lib/node_modules/http-server/bin/http-server [email protected] /usr/local/lib/node_modules/http-server ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected])

m2mexpert avatar Dec 04 '16 23:12 m2mexpert