node-multi-hashing
node-multi-hashing copied to clipboard
node-gyp rebuild failing
hi there trying to compile and run everything through windows. when trying to get all of the modules installed i've gotten stuck here.
Creating library C:\node_modules\multi-hashing\build\Release\multihashing.
lib and object C:\node_modules\multi-hashing\build\Release\multihashing.exp
multihashing.obj : error LNK2001: unresolved external symbol bcrypt_hash [C:\no
de_modules\multi-hashing\build\multihashing.vcxproj]
multihashing.obj : error LNK2001: unresolved external symbol keccak_hash [C:\no
de_modules\multi-hashing\build\multihashing.vcxproj]
C:\node_modules\multi-hashing\build\Release\multihashing.node : fatal error LNK
1120: 2 unresolved externals [C:\node_modules\multi-hashing\build\multihashing.
vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe fail
ed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules
npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node_modules\multi-hashing
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls multi-hashing
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "multi-hashing"
npm ERR! cwd C:
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
https://github.com/npm/npm/issues/6494
i have same issue in windows 7 + VS2013 update 3
I get the same error when trying to install on linux
Same issue on Ubuntu Server 17.10