-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Install bcrypt fails with yarn 0.24 (node-pre-gyp) #3406
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
Comments
bcrypt installs OK for me on: OSX Sierra
I thought maybe this was a regression from 0.23 to 0.24, but I tried it before and after upgrading and it worked for me with both Yarn versions. From some searches, it seems like node-gyp loves to fail for lots of people for lots of different reasons. Seems like every open source project out there that has anything that needs node-gyp in its dependency tree eventually end up with issues like this one. Can anyone else reproduce and debug? |
@rally25rs But with 0.23 all works fine for me. |
This may be an issue with |
I have the same problem. I rollback yarn to version 0.22.0 and its works. |
There's a discussion about this going on in #3240 |
Meanwhile the following is a workaround to get it working: yarn global add node-gyp |
Yeah, that's a reasonable fix @cebor. Either that or add npm's |
Issue is still in |
Fixed since v1 |
Issue is back since node 9. |
@cebor If you've upgraded Node.js, you might need to reinstall node-gyp. |
We also don't officially support Node 9 yet. |
@Daniel15 works thank you! |
@cebor are you experiencing an increase in build time at |
@Daniel15 thank you!! Been having issues for days when trying to add OSX High Sierra 10.13.1 |
try to use latest 'node-pre-gyp' version |
I managed to solve this by running the command: You can find the instructions here: |
Installing
bcrypt
with yarn fails, reproducible with the following steps:Error:
Installing bcrypt with npm or yarn 0.23.4 works fine.
macOS Sierra 10.12.4
node v7.10.0
yarn 0.24.4
The text was updated successfully, but these errors were encountered: