Node.bcrypt.js: npm install bcrypt fails in install: node-gyp rebuild

Created on 25 Sep 2015  路  12Comments  路  Source: kelektiv/node.bcrypt.js

I am using Debian and I have this error, someone who can help me;

npm install --save bcrypt
|

[email protected] install /home/tronwares/Escritorio/Oglit/Provedores-App/node_modules/bcrypt
node-gyp rebuild

gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:72:28)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:75:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:83:16
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:95:15)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/tronwares/Escritorio/Oglit/Provedores-App/node_modules/bcrypt
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--save" "bcrypt"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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! Please include the following file with any support request:
npm ERR! /home/tronwares/Escritorio/Oglit/Provedores-App/npm-debug.log

Most helpful comment

I met my mistake , with the installation of a package on my Debian 8 operating system :

sudo apt- get install build-essential

Then install bcrypt:

npm install bcrypt

All 12 comments

If you are on OSX make sure you have updated Xcode from the App Store. See #330

Sorry didn't see this line:

I am using Debian and I have this error, someone who can help me;

I am also having this issue and I have updated Xcode and the command line tools from the App Store. When I try to deploy my Node App to heroku, I am getting the same issue running on linux

I'm having this issue as well. Haven't been able to figure it out why.

@AndresHernandezl & @jrthib if you are on Heroku, just use the official buildpack for it to compile properly. If on Linux you may need to use a C++11-capable compiler: g++ 4.8 or newer, or clang++ 3.4 or newer. based on the issue here

I met my mistake , with the installation of a package on my Debian 8 operating system :

sudo apt- get install build-essential

Then install bcrypt:

npm install bcrypt

Thank you!!! @AndresHernandezl

thank you @AndresHernandezl

thank you !!! @AndresHernandezl

Thank You @AndresHernandezl

Same issue, solved by solution from @AndresHernandezl Thank you!

Same issue here with Bcrypt on Debian. Thank you @AndresHernandezl

Thank you @AndresHernandezl , success on Linux Mint

Was this page helpful?
0 / 5 - 0 ratings