node.bcrypt.js icon indicating copy to clipboard operation
node.bcrypt.js copied to clipboard

npm bcrypt installation failed

Open dearzubi opened this issue 3 years ago • 1 comments

With npm v7.21.0 I get the following error while installing with npm install sqlite3

npm ERR! code 1
npm ERR! path /home/zubair/Work/pkichain/pkichain_user_authentication/node_modules/bcrypt
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/zubair/.npm/_logs/2021-08-26T12_41_41_905Z-debug.log

I downgraded the npm to v6.14.15 and I am able to install it successfully.

dearzubi avatar Aug 26 '21 13:08 dearzubi

@dearzubi thanks a lot. It worked for me too

amos-kibet avatar Sep 12 '21 13:09 amos-kibet