isaacs/npm — Issue #1806: npm install failed at Object._open (fs.js:224:11)
Author: yanmuzhou
Created: 2011-11-29 03:03:06+00:00
State: open

Tried to install a number of packages using npm, failed at the same spot
root@dev7> npm install -g socket.io
npm ERR! TypeError: Bad argument
npm ERR! at Object._open (fs.js:224:11)
npm ERR! at open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:73:6)
npm ERR! at Object.open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:3)
npm ERR! at Object.lutimes (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:28:6)
npm ERR! at setProps (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:267:18)
npm ERR! at Object.oncomplete (/usr/local/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 2.6.18-274.7.1.el5xen
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "socket.io"
npm ERR! cwd /usr/local/lib/node_modules/___socket.io-client.npm
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! /usr/local/lib/node_modules/___socket.io-client.npm/npm-debug.log
npm not ok

root@dev7> npm install -g socket.io-client
npm ERR! TypeError: Bad argument
npm ERR! at Object._open (fs.js:224:11)
npm ERR! at open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:73:6)
npm ERR! at Object.open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:3)
npm ERR! at Object.lutimes (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:28:6)
npm ERR! at setProps (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:267:18)
npm ERR! at LinkWriter._finish (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:183:5)
npm ERR! at LinkWriter.end (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/link-writer.js:81:8)
npm ERR! at Entry.onend (stream.js:80:10)
npm ERR! at Entry.emit (events.js:88:20)
npm ERR! at Entry. (/usr/local/lib/node_modules/npm/node_modules/tar/lib/entry.js:122:14)
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.18-274.7.1.el5xen
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "socket.io-client"
npm ERR! cwd /usr/local/lib/node_modules/___socket.io-client.npm
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! /usr/local/lib/node_modules/___socket.io-client.npm/npm-debug.log
npm not ok

root@dev7> npm install -g jade
npm ERR! TypeError: Bad argument
npm ERR! at Object._open (fs.js:224:11)
npm ERR! at open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:73:6)
npm ERR! at Object.open (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:3)
npm ERR! at Object.lutimes (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:28:6)
npm ERR! at setProps (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:267:18)
npm ERR! at Object.oncomplete (/usr/local/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 2.6.18-274.7.1.el5xen
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "jade"
npm ERR! cwd /usr/local/lib/node_modules/npm/node_modules/graceful-fs
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! /usr/local/lib/node_modules/npm/node_modules/graceful-fs/npm-debug.log
npm not ok