isaacs/npm — Issue #2036: Can't install bitcoinjs
Author: weex
Created: 2012-01-14 21:38:33+00:00
State: open

Running sudo npm install bitcoinjs -g gives me the following error. This is on ubuntu 11.04 and I tried with and without ubuntu's mongodb installed.

npm http GET https://registry.npmjs.org/bitcoinjs
npm http 304 https://registry.npmjs.org/bitcoinjs
npm http GET https://registry.npmjs.org/buffertools
npm http GET https://registry.npmjs.org/binary
npm http GET https://registry.npmjs.org/bignum
npm http GET https://registry.npmjs.org/step
npm http GET https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/irc
npm http GET https://registry.npmjs.org/webworker
npm http GET https://registry.npmjs.org/jsonrpc2
npm http GET https://registry.npmjs.org/yanop
npm http GET https://registry.npmjs.org/forever
npm http GET https://registry.npmjs.org/progress-bar
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/buffers
npm http GET https://registry.npmjs.org/leveldb
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/mongodb
npm http 304 https://registry.npmjs.org/buffertools
npm http 304 https://registry.npmjs.org/step
npm http 304 https://registry.npmjs.org/bignum
npm http 304 https://registry.npmjs.org/binary
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/jsonrpc2
npm http 304 https://registry.npmjs.org/irc
npm http 304 https://registry.npmjs.org/webworker
npm http 304 https://registry.npmjs.org/yanop
npm http 304 https://registry.npmjs.org/forever
npm http 304 https://registry.npmjs.org/progress-bar
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/buffers
npm http 304 https://registry.npmjs.org/leveldb
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/mongodb
Traceback (most recent call last):
File "./build-wrapper", line 8, in
status = subprocess.call('node-waf configure build'.split())
File "/usr/lib/python2.6/subprocess.py", line 470, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
npm ERR! error installing buffertools@1.0.6
npm ERR! error installing bitcoinjs@0.2.1
npm http GET https://registry.npmjs.org/jsonparse
npm ERR! error installing pkginfo@0.2.3
npm ERR! Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/bitcoinjs/node_modules/___irc.npm/package/docs/make.bat'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.35-31-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "bitcoinjs" "-g"
npm ERR! cwd /home/auser/code/node-bitcoin-p2p
npm ERR! node -v v0.7.0-pre
npm ERR! npm -v 1.1.0-beta-10
npm ERR! path /usr/local/lib/node_modules/bitcoinjs/node_modules/___irc.npm/package/docs/make.bat
npm ERR! fstream_path /usr/local/lib/node_modules/bitcoinjs/node_modules/___irc.npm/package/docs/make.bat
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/usr/local/lib/node_modules/bitcoinjs/node_modules/___irc.npm/package/docs/make.bat'
npm ERR! fstream_stack Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:285:17)
npm ERR! Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/bitcoinjs/node_modules/___winston.npm/package/test/exception-test.js'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.35-31-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "bitcoinjs" "-g"
npm ERR! cwd /home/auser/code/node-bitcoin-p2p
npm ERR! node -v v0.7.0-pre
npm ERR! npm -v 1.1.0-beta-10
npm ERR! path /usr/local/lib/node_modules/bitcoinjs/node_modules/___winston.npm/package/test/exception-test.js
npm ERR! fstream_path /usr/local/lib/node_modules/bitcoinjs/node_modules/___winston.npm/package/test/exception-test.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/usr/local/lib/node_modules/bitcoinjs/node_modules/___winston.npm/package/test/exception-test.js'
npm ERR! fstream_stack Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:204:26)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/auser/code/node-bitcoin-p2p/npm-debug.log
npm not ok