Closed totty90 closed 10 years ago
npm ERR! This is most likely a problem with the buffertools package, npm ERR! not with npm itself.
It's a lie, it's usually a problem with the compiler. Can you post the contents of npm-debug.log?
2 info using npm@1.4.28
3 info using node@v0.10.32
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose readDependencies using package.json deps
6 verbose install where, deps [ 'C:\\test\\accept-bitcoin\\node_modules\\bitcore\\node_modules\\buffertools',
6 verbose install [] ]
7 info preinstall buffertools@2.1.2
8 verbose readDependencies using package.json deps
9 silly resolved []
10 info build C:\test\accept-bitcoin\node_modules\bitcore\node_modules\buffertools
11 verbose linkStuff [ false,
11 verbose linkStuff false,
11 verbose linkStuff false,
11 verbose linkStuff 'C:\\test\\accept-bitcoin\\node_modules\\bitcore\\node_modules' ]
12 info linkStuff buffertools@2.1.2
13 verbose linkBins buffertools@2.1.2
14 verbose linkMans buffertools@2.1.2
15 verbose rebuildBundles buffertools@2.1.2
16 info install buffertools@2.1.2
17 verbose unsafe-perm in lifecycle true
18 info buffertools@2.1.2 Failed to exec install script
19 error buffertools@2.1.2 install: `node-gyp rebuild`
19 error Exit status 1
20 error Failed at the buffertools@2.1.2 install script.
20 error This is most likely a problem with the buffertools package,
20 error not with npm itself.
20 error Tell the author that this fails on your system:
20 error node-gyp rebuild
20 error You can get their info via:
20 error npm owner ls buffertools
20 error There is likely additional logging output above.
21 error System Windows_NT 6.1.7601
22 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
23 error cwd C:\test\\accept-bitcoin\node_modules\bitcore\node_modules\buffertools
24 error node -v v0.10.32
25 error npm -v 1.4.28
26 error code ELIFECYCLE
27 verbose exit [ 1, true ]
20 error Tell the author that this fails on your system: 20 error node-gyp rebuild
node-gyp is the build system for native add-ons that is shipped with npm. I wish upon a star that npm would be less obtuse when it fails because I swear that 8 out of 10 bug reports I get can be traced back to npm playing mum. @othiym23 Can you guys fix that someday, please?
@totty90 Do you have python and Visual Studio installed? Can you clone the repo and run node-gyp rebuild
manually?
I don't have VS nor python. Anyway I think is a issue for many people look at bitcore issue https://github.com/bitpay/bitcore/issues/63
node-gyp rebuild
:
MSBUILD : error MSB3428: Can't load "VCBuild.exe"
Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
Right, you need both. buffertools is a native add-on, it requires a compiler and python because node-gyp is part python. I'm going to close this as it's a local problem, not a problem with the buffertools module, as npm suggests.
ok, thanks
Got this error: