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

[email protected] install: `node-pre-gyp install --fallback-to-build`

Open lucasmunafo opened this issue 7 years ago • 26 comments

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

lucasmunafo avatar Dec 30 '18 18:12 lucasmunafo

Any solutions to this

ihteshamqazi avatar Jan 01 '19 05:01 ihteshamqazi

Same here

Jack89ita avatar Jan 01 '19 14:01 Jack89ita

Install dependencies. It's mentioned everywhere in the README

recrsn avatar Jan 01 '19 17:01 recrsn

i installed dependencies, locally and globally but nothing changed!

itsOmidKarami avatar Jan 04 '19 15:01 itsOmidKarami

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.

Akshay-Rana-Gujjar avatar Jan 05 '19 12:01 Akshay-Rana-Gujjar

version 3.0.1 works fine

Akshay-Rana-Gujjar avatar Jan 05 '19 12:01 Akshay-Rana-Gujjar

Version 3.0.2 same problem.

andersonmendesdev avatar Jan 05 '19 18:01 andersonmendesdev

I think we should follow the instruction to install this library. Please click here

zabahey avatar Jan 09 '19 07:01 zabahey

Same issue, I noticed I could not hash passwords for my users after I updated the node version.

Big security issue

Fenny avatar Jan 10 '19 05:01 Fenny

I installed the dependencies but still no prebuild ...

cliedelt avatar Jan 14 '19 10:01 cliedelt

tried? npm install --global --production windows-build-tools

zhuhang-jasper avatar Jan 16 '19 03:01 zhuhang-jasper

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 avatar Jan 18 '19 20:01 multinerd

@multinerd I have the same issue. Why there's no 3.0.3's v64?

XadillaX avatar Jan 24 '19 03:01 XadillaX

3.0.2 does work on Node 10 / macOS.

djanowski avatar Jan 24 '19 19:01 djanowski

@djanowski - 3.0.2 did not work on my Mac.

ACPK avatar Jun 26 '19 21:06 ACPK

[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.

Mujahid122418 avatar Aug 06 '19 19:08 Mujahid122418

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.

nezlicodes avatar Sep 06 '19 14:09 nezlicodes

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

diamond95 avatar Dec 17 '19 15:12 diamond95

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

krishheii avatar Jan 12 '20 17:01 krishheii

@diamond95 answer worked for me, just pointing it out!

edgargaza avatar Jan 20 '20 19:01 edgargaza