Skip to content

Instantly share code, notes, and snippets.

@tlhunter
Created September 19, 2012 15:20
Show Gist options
  • Save tlhunter/3750218 to your computer and use it in GitHub Desktop.
Save tlhunter/3750218 to your computer and use it in GitHub Desktop.
Node.js Bcrypt won't compile on CentOS
# Yes, openssl-devel is installed.
$ npm install bcrypt
npm http GET https://registry.npmjs.org/bcrypt
npm http 304 https://registry.npmjs.org/bcrypt
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 304 https://registry.npmjs.org/bindings/1.0.0
> bcrypt@0.7.2 install /home/thunter/unified-api/node_modules/bcrypt
> node-gyp rebuild
info it worked if it ends with ok
info downloading: http://nodejs.org/dist/v0.6.18/node-v0.6.18.tar.gz
ERR! Error: EXDEV, link '/usr/lib/nodejs/node-gyp/legacy/tools/gyp/buildbot/buildbot_run.pyc'
ERR! not ok
npm ERR! bcrypt@0.7.2 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.2 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!
npm ERR! System Linux 2.6.32-279.5.1.el6.x86_64
npm ERR! command "nodejs" "/usr/bin/npm" "install" "bcrypt"
npm ERR! cwd /home/thunter/unified-api
npm ERR! node -v v0.6.18
npm ERR! npm -v 1.1.19
npm ERR! code ELIFECYCLE
npm ERR! message bcrypt@0.7.2 install: `node-gyp rebuild`
npm ERR! message `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/thunter/unified-api/npm-debug.log
npm not ok
@daspecster
Copy link

Is that an older version of nodes?

@daspecster
Copy link

NodeJS I mean...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment