sh: 1: node: not found
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! phantomjs@1.9.7-14 install: node install.js
npm ERR! sh "-c" "node install.js" failed with 127
npm ERR!
npm ERR! Failed at the phantomjs@1.9.7-14 install script.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.11.0-12-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/jeremy/EFF/Projects/OpenWireless/OpenWireless
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jeremy/EFF/Projects/OpenWireless/OpenWireless/npm-debug.log
npm ERR! not ok code 0
On Mint 16, I get the following error when running install-dev-dependencies.sh
[defiant:~/EF...penWireless/OpenWireless|6798> ./install-dev-dependencies.sh snip ... npm http GET https://registry.npmjs.org/delayed-stream/0.0.5 npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
sh: 1: node: not found 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! phantomjs@1.9.7-14 install:
node install.js
npm ERR!sh "-c" "node install.js"
failed with 127 npm ERR! npm ERR! Failed at the phantomjs@1.9.7-14 install script. npm ERR! This is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above.npm ERR! System Linux 3.11.0-12-generic npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! cwd /home/jeremy/EFF/Projects/OpenWireless/OpenWireless npm ERR! node -v v0.10.15 npm ERR! npm -v 1.2.18 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/jeremy/EFF/Projects/OpenWireless/OpenWireless/npm-debug.log npm ERR! not ok code 0