-
Notifications
You must be signed in to change notification settings - Fork 282
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 can not be installed #2
Comments
okay, so it seems that the solution for this problem is really easy. I changed the value of the "bcrypt" property in the package.json file to "^2.0.1" and after this the "npm i" did its job well. |
thank you!!!! I'm stuck over a day |
I deleted the bcrypt directories in node-modules and then did a npm i and npm rebuild and i was good :) |
I had the same problem, check out the version compatibility of the bcrypt package and compare it with your node installation. |
Had the same issue. Check version compatibility here https://www.npmjs.com/package/bcrypt |
I've updated my bcrypt to 3.0.2 at package.json. Before this, I've installed windows-build-tools
But I think that just change bcrypt version will solve your problem on Windows 10. |
I would suggest using bcryptjs, I often had problems with bcrypt |
Thank you all! |
bcrypt library that declared in config/package.json line #15 is an older version that's why the whole project is not working and also we face problem in dependencies installation for that solution remove this line #15 from config/package.json then install dependencies after install dependencies now additionally install bcrypt library using this command "npm install bcrypt" that's solve. from there |
remove bcrypt dependecy from the package.json, |
Thank you mamunur121 that worked for me |
It also worked for me |
I also faced the problem. I uninstalled bcrypt and installed again
|
it should works now. |
thank you !!!!! it worked |
When I try to install the dependencies to the backend service with command "npm i" then one of them can not be found on the given github release link therefore end up with the error: "Failed at the [email protected] install script".
The exact error message is:
node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-win32-x64.tar.gz
I am not sure where this link coming from, i did not find it in the package-lock.json.
However, it is really wrong and gets to a 404.
Sorry for the noob question, I'm really new in node. Thank You for the answer in advance.
The text was updated successfully, but these errors were encountered: