node-bcrypt wont install; looks like issue w/ node-gyp #183

ghost opened this Issue Jan 21, 2013 · 1 comment

1 participant


When attempting to sudo npm install bcrypt i get the following error:

pm http GET
npm http 304
npm http GET
npm http 304

bcrypt@0.7.3 install /Users/cody/node_modules/bcrypt
node-gyp rebuild

/usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm ERR! bcrypt@0.7.3 install: node-gyp rebuild
npm ERR! sh "-c" "node-gyp rebuild" failed with 127
npm ERR!
npm ERR! Failed at the bcrypt@0.7.3 install script.
npm ERR! This is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 12.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "bcrypt"
npm ERR! cwd /Users/cody
npm ERR! node -v v0.8.18
npm ERR! npm -v 1.2.2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/cody/npm-debug.log
npm ERR! not ok code 0

node-bcrypt tells me its likely an issue w/ node-gyp. Anything you guys can do to push me in the right direction?

@TooTallNate TooTallNate closed this Feb 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment