Skip to content
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 dependencies #25

Open
w10036w opened this issue Feb 17, 2015 · 2 comments
Open

bcrypt dependencies #25

w10036w opened this issue Feb 17, 2015 · 2 comments

Comments

@w10036w
Copy link

w10036w commented Feb 17, 2015

I've installed bcrypt v0.8.1 (in other directory) but when I install this project it still tells me bcrypt is v0.7.7 and fail to find the openssl file. I tried to copy the latest bcrypt and still failed. How can I solve this problem?

Error message:
fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory [\sailsjs-angularjs-bootstrap-example\node_modules\bcrypt\build\bcrypt_lib.vcxpro
j](there is no)
....
npm ERR! bcrypt@0.7.7 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.7 install script 'node-gyp rebuild'.

@cgmartin
Copy link
Owner

It seems to be an incompatibility in bcrypt with Node v0.12. When I switched back to v0.10.x it did not have a problem. Is this your case as well?

@w10036w
Copy link
Author

w10036w commented Feb 18, 2015

Hi thanks! Yeah I used v0.12 previously.
I switch to 0.10.32, re-install bcrypt but still fail again, same issue and err msg (but 0.10.32 recognized). I check node_modules of this project and there is no bcrypt (the bcrypt folder flashes during installing the project).
my OS is win 8 x64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants