isaacs/npm — Issue #1671: Error unpacking socket.io
Author: anthonywebb
Created: 2011-11-08 00:03:43+00:00
State: open

Got this error while installing socket.io tonight...

[root@realtime-3 www]# npm install socket.io
npm ERR! Failed unpacking /tmp/npm-1320710276311/1320710276311-0.38126975228078663/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1320710276311/1320710276311-0.38126975228078663/tmp.tgz to /tmp/npm-1320710276311/1320710276311-0.38126975228078663/contents
npm ERR! error installing socket.io-client@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1320710276311/1320710276311-0.38126975228078663/tmp.tgz" "-o"`
npm ERR! error installing socket.io-client@0.8.7 failed with 2
npm ERR! error installing socket.io-client@0.8.7 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:181:20)
npm ERR! error installing socket.io-client@0.8.7 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing socket.io-client@0.8.7 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! error installing socket.io@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1320710276311/1320710276311-0.38126975228078663/tmp.tgz" "-o"`
npm ERR! error installing socket.io@0.8.7 failed with 2
npm ERR! error installing socket.io@0.8.7 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:181:20)
npm ERR! error installing socket.io@0.8.7 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing socket.io@0.8.7 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1320710276311/1320710276311-0.38126975228078663/tmp.tgz" "-o"`
npm ERR! failed with 2
npm ERR! at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:181:20)
npm ERR! at ChildProcess.emit (events.js:67:17)
npm ERR! at ChildProcess.onexit (child_process.js:192:12)
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.3.1.el5xen
npm ERR! command "node" "/usr/local/bin/npm" "install" "socket.io"
npm ERR! cwd /root/www
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.96
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/www/npm-debug.log
npm not ok