Skip to content

Instantly share code, notes, and snippets.

@0xpantera
Created January 26, 2016 21:25
Show Gist options
  • Save 0xpantera/733356279eccdf3caf5c to your computer and use it in GitHub Desktop.
Save 0xpantera/733356279eccdf3caf5c to your computer and use it in GitHub Desktop.
Error and warning message when installing react-boilerplate dependencies
> [email protected] postinstall /home/franco/Documents/personal/data_science/react-boilerplate/node_modules/react-router/node_modules/history
> node ./npm-scripts/postinstall.js
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! [email protected] postinstall: `node ./npm-scripts/postinstall.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the history package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./npm-scripts/postinstall.js
npm ERR! You can get their info via:
npm ERR! npm owner ls history
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.19.0-47-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/franco/Documents/personal/data_science/react-boilerplate
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN engine [email protected]: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})
> [email protected] postinstall /home/franco/Documents/personal/data_science/react-boilerplate/node_modules/ngrok
> node ./postinstall.js
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
-
> [email protected] postinstall /home/franco/Documents/personal/data_science/react-boilerplate/node_modules/expect
> node ./npm-scripts/postinstall.js
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!
npm ERR! Additional logging details can be found in:
npm ERR! /home/franco/Documents/personal/data_science/react-boilerplate/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment