isaacs/npm — Issue #2141: NPM install on socket-io client fails
Author: Aqueous
Created: 2012-02-09 16:03:27+00:00
State: open

user@host:/var/rt_daemon# npm install socket.io-client
npm http GET https://registry.npmjs.org/socket.io-client
npm http 304 https://registry.npmjs.org/socket.io-client
npm http GET https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.8.7.tgz
npm http 200 https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.8.7.tgz

npm ERR! TypeError: Cannot call method 'call' of undefined
npm ERR! at Object.lchown (/usr/lib/nodejs/npm/node_modules/graceful-fs/graceful-fs.js:228:17)
npm ERR! at setProps (/usr/lib/nodejs/npm/node_modules/fstream/lib/writer.js:240:19)
npm ERR! at Object.oncomplete (/usr/lib/nodejs/npm/node_modules/fstream/lib/writer.js:206:7)
npm ERR! You may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.32-33-generic
npm ERR! command "node" "/usr/bin/npm" "install" "socket.io-client"
npm ERR! cwd /var/rt_daemon
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-2
npm ERR! type non_object_property_call
npm ERR! arguments [ 'call', undefined ]
npm ERR! message Cannot call method 'call' of undefined
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/rt_daemon/npm-debug.log
npm not ok