bcrypt dependencies
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! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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?
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