Install bcrypt package failed

Hi folks,

I am getting warning or error message and it says:

W20161013-11:09:53.519(5)? (STDERR) Note: you are using a pure-JavaScript implementation of bcrypt.
W20161013-11:09:53.586(5)? (STDERR) While this implementation will work correctly, it is known to be
W20161013-11:09:53.587(5)? (STDERR) approximately three times slower than the native implementation.
W20161013-11:09:53.588(5)? (STDERR) In order to use the native implementation instead, run
W20161013-11:09:53.588(5)? (STDERR)
W20161013-11:09:53.589(5)? (STDERR) meteor npm install --save bcrypt
W20161013-11:09:53.591(5)? (STDERR)
W20161013-11:09:53.593(5)? (STDERR) in the root directory of your application.

when run meteor.

i tried meteor npm install --save bcrypt but got error message. The message says:

so i run meteor npm install --save node-gyp rebuild then meteor npm install --save bcrypt…
Same error message as above

Any Idea?
I am waiting for your response.
Thanks in Advance!

You need to have some build tools installed.
Go look on the node-gyp page with instructions to install it on windows.

You could try

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

which I think gives you a full build chain suitable for bcrypt.

1 Like

I have completed install “npm install --global --production windows-build-tools”.
Now i run meteor npm install --save bcrypt
Same issue!!!

My advice: don’t waste your time trying to solve this “error”. I’ve had it for weeks and my web-apps are fast and work fine.


Agree with @mornir.

bcrypt is slower than it could be… So what? It only gets used when logging in or creating an account.


Did you try

npm install --save bcrypt

i.e. without meteor in the command line, for some reason, it worked for us

1 Like

Yeah i was confused.
Anyway Thank you for replying