[email protected] install: `node-pre-gyp install --fallback-to-build`
I have the same issue as everyone i tried everythong but the prob still there please can u help me with it?
[email protected] install: node-pre-gyp install --fallback-to-build``
package.json:
"dependencies": {
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.3",
"express": "^4.16.4",
"mongoose": "^5.4.0",
"morgan": "^1.9.1",
"multer": "^1.4.1",
"request": "^2.88.0"
},
2018-12-30T18_54_42_961Z-debug.log
VERSIONS: npm: 6.4.1 node: v10.14.2
Any solutions to this
Same here
Install dependencies. It's mentioned everywhere in the README
i installed dependencies, locally and globally but nothing changed!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
Facing same issue. Old version works fine.
version 3.0.1 works fine
Version 3.0.2 same problem.
I think we should follow the instruction to install this library. Please click here
Same issue, I noticed I could not hash passwords for my users after I updated the node version.
Big security issue
I installed the dependencies but still no prebuild ...
tried?
npm install --global --production windows-build-tools
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.3/bcrypt_lib-v3.0.3-node-v64-win32-x64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
@3.0.2 works since node-v64 is released, 3.0.3 does not have this version under releases.
@multinerd I have the same issue. Why there's no 3.0.3's v64?
3.0.2 does work on Node 10 / macOS.
@djanowski - 3.0.2 did not work on my Mac.
[email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Fixed it by installing the dependencies: https://github.com/kelektiv/node.bcrypt.js/wiki/Installation-Instructions.
There is also this the bcrypt alternative that you can consider. It is optimized in JavaScript with zero dependencies.
it works for me after installing visual studio 2019( c++ desktop development ), python 3.8.0 and npm install -g node-gyp npm install --g --production windows-build-tools npm install bcrypt
Please try this it will definitely work, this error occur because you are not using a stable version of node
npm install --save bcryptjs && npm uninstall --save bcrypt
@diamond95 answer worked for me, just pointing it out!