New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bcrypt still will not install on Node 9 #590
Comments
Why don't you try the built-in And by the way, you are free to open a PR, so you can help the community =) |
Please attach error logs of why it isn't installing. We didn't have prebuilt binaries available back then, that was the most common cause of installation failures. I and hundreds of others use bcrypt in Node 9, so there is something something wrong with your host. Without error logs, I can't say anything. |
Had to downgrade bcyrpt from ^2.0.0 to ^1.0.3 as the latest isn't installing for me either. On Windows, using latest stable version of node v8.11.1... tried installing node-gyp and following the set guide but it did not work for me.
|
I use Windows 10 x64 and bcrypt v2. You must run PowerShell as Administrator and:
then
|
It looks like its an issue with the upstream library node-pre-gyp which doesn't seem to handle 302 redirects. I will investigate and open an issue with them. |
Confirmed that its an issue with node-pre-gyp |
I also have the same issue node-pre-gyp ERR! Tried to download(302): https://github.com/kelektiv/node.bcrypt.js/releases/download/v2.0.0/bcrypt_lib-v2.0.0-node-v59-win32-x64-unknown.tar.gz |
In order to use bcdypt, we've had to revert to 1.0.3 as 2.x.x wont install on Node 9 or 8.
node-pre-gyp ERR! Tried to download(302): https://github.com/kelektiv/node.bcrypt.js/releases/download/v2.0.0/bcrypt_lib-v2.0.0-node-v57-win32-x64-unknown.tar.gz npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
Just reverted to 1.0.3 as well with a similar error using Meteor:
|
Hello, i have same issue on in the otherhand, windows10, which running node version 6.11.4 works fine. log below
hope it fix soon. |
This should be fixed with the latest release v2.0.1 |
@danielcasler You had the build dependencies missing. |
Trying to install bcrypt, latest version on Linux mint Sylvia... it doesn't work either
So, what would be the solution for this? |
@Mayocampo It seems you run rpm as root, therrfore your account cannot mkdir under /home/someroute/node_modules/ I guess there are two options are available.
I decided first, and its fixed |
I too am getting the same error. Please help. |
It's not the same error. pre-built binaries are not available yet You should be able to make a source compile, check the README for instructions. It will be uploaded in 2 - 3 hours. There's usually a 12 - 15-hour delay between the release on npm and pre-built binaries |
@manikmi Please open a new issue if installation still fails after installing compilers |
I opened a issue on this back in November of last year. Bcrypt wont install on Node 9.x.
There was a response of "binaries available" and the issue was closed.
What kind of sloppy project management is this? The issue is not resolved. Bcrypt still does not install on Node 9.
At this point, Bcrypt is the ONLY library blocking us from using Node 9+ and bcrypt is used in 4 lines of code.
We are now going to find an alternative to Bcrypt because clearly this project is poorly managed and 4 months later, we still can't use Node 9. Node will be at Node 10 and there will still be excuses as to why we can't use Node 9 & 10.
The text was updated successfully, but these errors were encountered: