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

Weird error 127 (yes it actually says that) #24

Open
m2mexpert opened this issue Dec 4, 2016 · 2 comments
Open

Weird error 127 (yes it actually says that) #24

m2mexpert opened this issue Dec 4, 2016 · 2 comments

Comments

@m2mexpert
Copy link

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

@rafale77
Copy link
Contributor

rafale77 commented Dec 4, 2016

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

Try
sudo npm install -g http-server

@m2mexpert
Copy link
Author

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])

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

2 participants