Skip to content

Instantly share code, notes, and snippets.

@addingama
Created October 31, 2014 13:34
Show Gist options
  • Save addingama/12d3f6b926899568e4cb to your computer and use it in GitHub Desktop.
Save addingama/12d3f6b926899568e4cb to your computer and use it in GitHub Desktop.
Setup Bitcore
Dash Racer@DASHRACER-PC /c/wamp/www/clink (master)
$ node server.js
module.js:340
throw err;
^
Error: Cannot find module 'bitcore'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (c:\wamp\www\clink\app\lib\core\BuilderMockV0.js:4:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
$ npm install -g bitcore
\
> buffertools@2.1.2 install C:\Users\Dash Racer\AppData\Roaming\npm\node_modules\bitcore\node_modules\buffertools
> node-gyp rebuild
-
C:\Users\Dash Racer\AppData\Roaming\npm\node_modules\bitcore\node_modules\buffertools>node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:1001:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:792:34)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Dash Racer\AppData\Roaming\npm\node_modules\bitcore\node_modules\buffertools
node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
> bignum@0.6.2 install C:\Users\Dash Racer\AppData\Roaming\npm\node_modules\bitcore\node_modules\bignum
> node-gyp configure build
\
C:\Users\Dash Racer\AppData\Roaming\npm\node_modules\bitcore\node_modules\bignum>node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure build
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:1001:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:792:34)
gyp ERR! System Windows_NT 6.1.7601
ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "build"
gyp ERR! cwd C:\Users\Dash Racer\AppData\Roaming\npm\node_modules\bitcore\node_modules\bignum
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR! buffertools@2.1.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the buffertools@2.1.2 install script.
npm ERR! This is most likely a problem with the buffertools 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 buffertools
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\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "bitcore"
npm ERR! cwd c:\wamp\www\clink
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment