isaacs/npm — Issue #1793: Bad argument for _open (fs.js)
Author: Dundee
Created: 2011-11-27 11:58:49+00:00
State: open

npm info it worked if it ends with ok
npm info using npm@1.1.0-alpha-2
npm info using node@v0.6.3
npm info preinstall draw@0.0.3
npm info addNamed [ 'socket.io', '>= 0.8' ]
npm info addNamed [ 'mongodb', '>= 0.9.6' ]
npm info fetch https://registry.npmjs.org/mongodb/-/mongodb-0.9.7-1.1.tgz
npm info fetch https://registry.npmjs.org/socket.io/-/socket.io-0.8.7.tgz
npm info shasum 98419cb68859a6fc5ec8d49f50dcdbbe2ffd4466
npm info shasum /tmp/npm-1322394713135/1322394713609-0.6545872695278376/tmp.tgz
npm info shasum 5c1da0f3bf310a9f6908da9d27ca5102bf6714a3
npm info shasum /home/dundee/.npm/socket.io/0.8.7/package.tgz
npm info shasum 4e228b6128d23acaab60a97e390eb8c3c6a38b69
npm info shasum /tmp/npm-1322394713135/1322394713135-0.5559116264339536/tmp.tgz
npm WARN nodeunit@0.5.1 package.json: bugs['web'] should probably be bugs['url']
npm info shasum 28671f52f23216b2c62b85fdec3d6eaf90e63bb3
npm info shasum /home/dundee/.npm/mongodb/0.9.7-1.1/package.tgz
npm info into /home/dundee/workspace/js/nodejs/draw socket.io@0.8.7
npm info into /home/dundee/workspace/js/nodejs/draw mongodb@0.9.7-1.1
npm info installOne socket.io@0.8.7
npm info installOne mongodb@0.9.7-1.1
npm info unbuild /home/dundee/workspace/js/nodejs/draw/node_modules/socket.io
npm info unbuild /home/dundee/workspace/js/nodejs/draw/node_modules/mongodb
npm info preinstall socket.io@0.8.7
npm info addNamed [ 'socket.io-client', '0.8.7' ]
npm info addNamed [ 'policyfile', '0.0.4' ]
npm info addNamed [ 'redis', '0.6.7' ]
npm info preinstall mongodb@0.9.7-1.1
npm info build /home/dundee/workspace/js/nodejs/draw/node_modules/mongodb
npm info linkStuff mongodb@0.9.7-1.1
npm info install mongodb@0.9.7-1.1

> mongodb@0.9.7-1.1 install /home/dundee/workspace/js/nodejs/draw/node_modules/mongodb
> bash ./install.sh || exit 0

================================================================================
= =
= To install with C++ bson parser do =
= the parser only works for node 0.4.X or lower =
= =
================================================================================
Not building native library for cygwin
which: no gmake in (/home/dundee/workspace/js/nodejs/draw/node_modules/mongodb/node_modules/.bin:/home/dundee/workspace/js/nodejs/draw/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/opt/java/bin:/opt/java/db/bin:/opt/java/jre/bin:/usr/bin/core_perl:/usr/local/bin:/home/dundee/bin)
npm info postinstall mongodb@0.9.7-1.1
npm info fetch https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.8.7.tgz
npm info fetch https://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz
npm info fetch https://registry.npmjs.org/redis/-/redis-0.6.7.tgz
npm info shasum d6b82ead98ae79ebe228e2daf5903311ec982e4d
npm info shasum /tmp/npm-1322394713135/1322394717769-0.8787352694198489/tmp.tgz
npm info shasum 44c1a9fc6ca84eecf7fac1dddb48ea3d24a138d3
npm info shasum /home/dundee/.npm/policyfile/0.0.4/package.tgz
npm info shasum 0f17f913468a5cb2bf0864e4d56669d058668d46
npm info shasum /tmp/npm-1322394713135/1322394717786-0.6131144664250314/tmp.tgz
npm info shasum e90eef1afdfd98148a605342abf3155918aae4c4
npm info shasum /home/dundee/.npm/redis/0.6.7/package.tgz
npm info shasum 61c5953acbefebcd45dd47d0c8b1ad8a5bf86e1b
npm info shasum /tmp/npm-1322394713135/1322394717726-0.7957075375597924/tmp.tgz
npm ERR! TypeError: Bad argument
npm ERR! at Object._open (fs.js:224:11)
npm ERR! at open (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:73:6)
npm ERR! at Object.open (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:3)
npm ERR! at Object.lutimes (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:28:6)
npm ERR! at setProps (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:267:18)
npm ERR! at Object.oncomplete (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:205:7)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 3.1.2-1-ARCH
npm ERR! command "node" "/usr/bin/npm" "install" "-d"
npm ERR! cwd /home/dundee/workspace/js/nodejs/draw
npm ERR! node -v v0.6.3
npm ERR! npm -v 1.1.0-alpha-2
npm ERR! message Bad argument
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/dundee/workspace/js/nodejs/draw/npm-debug.log
npm not ok

npm-debug.log: http://pastebin.com/bgn1T27Z