npm start Error
npm start Error
[email protected] start /root/websockets-demo node server
sh: 1: node: not found
npm ERR! [email protected] start: node server
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the websockets-demo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server
npm ERR! You can get their info via:
npm ERR! npm owner ls websockets-demo
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! cwd /root/websockets-demo
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
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! npm ERR! Additional logging details can be found in: npm ERR! /root/websockets-demo/npm-debug.log npm ERR! not ok code 0
Hello @fitreklam!
I'm not @JangoSteve, but I believe that instead of node the binary is now called nodejs. If you change that, perhaps the server will start up correctly?