justmoon / node-bignum

Big integers for Node.js using OpenSSL
419 stars 116 forks source link

npm install bignum Error Cannot open include file: 'openssl/bn.h' #57

Open nzhome opened 9 years ago

nzhome commented 9 years ago

..\bignum.cc(9): fatal error C1083: Cannot open include file: 'openssl/bn.h': No such file or directory [C:\Program Files\nodejs\node_modules\homebridge-master\node_modules\bignum\build\bignum.vcxproj] gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:269:23) gyp ERR! stack at ChildProcess.emit (events.js:110:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12) gyp ERR! System Windows_NT 6.1.7600 gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "build" gyp ERR! cwd C:\Program Files\nodejs\node_modules\homebridge-master\node_modules\bignum gyp ERR! node -v v0.12.7 gyp ERR! node-gyp -v v2.0.1 gyp ERR! not ok npm ERR! Windows_NT 6.1.7600 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "bignum" npm ERR! node v0.12.7 npm ERR! npm v2.11.3 npm ERR! code ELIFECYCLE

npm ERR! bignum@0.11.0 install: node-gyp configure build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bignum@0.11.0 install script 'node-gyp configure build'. npm ERR! This is most likely a problem with the bignum package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp configure build npm ERR! You can get their info via: npm ERR! npm owner ls bignum npm ERR! There is likely additional logging output above.

Giancarlo1974 commented 8 years ago

https://www.robertkehoe.com/2015/03/fix-node-gyp-rebuild-error-on-windows/