isaacs/npm — Issue #1524: failed unpacking while using -g on ubuntu
Author: rednaxus
Created: 2011-10-10 04:46:21+00:00
State: open

npm install socketstream -g
npm ERR! Failed unpacking /tmp/npm-1318221806516/1318221807795-0.3890664267819375/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1318221806516/1318221807795-0.3890664267819375/tmp.tgz to /tmp/npm-1318221806516/1318221807795-0.3890664267819375/contents
npm ERR! error installing socketstream@0.2.4 Error: `tar "-zmvxpf" "/tmp/npm-1318221806516/1318221807795-0.3890664267819375/tmp.tgz" "-C" "/tmp/npm-1318221806516/1318221807795-0.3890664267819375/contents/___package.npm" ["-o"]`
npm ERR! error installing socketstream@0.2.4 failed with 2
npm ERR! error installing socketstream@0.2.4 at ChildProcess. (/root/.nvm/v0.4.9/lib/node_modules/npm/lib/utils/tar.js:182:20)
npm ERR! error installing socketstream@0.2.4 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing socketstream@0.2.4 at Socket. (child_process.js:179:12)
npm ERR! error installing socketstream@0.2.4 at Socket.emit (events.js:64:17)
npm ERR! error installing socketstream@0.2.4 at Array.1 (net.js:831:12)
npm ERR! error installing socketstream@0.2.4 at EventEmitter._tickCallback (node.js:126:26)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1318221806516/1318221807795-0.3890664267819375/tmp.tgz" "-C" "/tmp/npm-1318221806516/1318221807795-0.3890664267819375/contents/___package.npm" ["-o"]`
npm ERR! failed with 2
npm ERR! at ChildProcess. (/root/.nvm/v0.4.9/lib/node_modules/npm/lib/utils/tar.js:182:20)
npm ERR! at ChildProcess.emit (events.js:67:17)
npm ERR! at Socket. (child_process.js:179:12)
npm ERR! at Socket.emit (events.js:64:17)
npm ERR! at Array.1 (net.js:831:12)
npm ERR! at EventEmitter._tickCallback (node.js:126:26)
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.4-rscloud
npm ERR! command "node" "/root/.nvm/v0.4.9/bin/npm" "install" "socketstream" "-g"
...
npm not ok

This happens all the way up to version 0.4.12 as well

I notice other folks seem to have similar problems with other libraries