isaacs/npm — Issue #1781: Can not install socket.io
Author: chussenet
Created: 2011-11-24 10:51:53+00:00
State: open

Was able to install express redis and hiredis

However ,get error in installing socket.io.

See stacktrace

npm install socket.io
npm ERR! Failed unpacking /tmp/npm-1322129911080/1322129911080-0.4146254085935652/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1322129911080/1322129911080-0.4146254085935652/tmp.tgz to /tmp/npm-1322129911080/1322129911080-0.4146254085935652/contents
npm ERR! error installing socket.io-client@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1322129911080/1322129911080-0.4146254085935652/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. (/root/node/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! error installing socket.io-client@0.8.7 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing socket.io-client@0.8.7 at maybeExit (child_process.js:359:16)
npm ERR! error installing socket.io-client@0.8.7 at Process.onexit (child_process.js:395:5)
npm ERR! error installing socket.io@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1322129911080/1322129911080-0.4146254085935652/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. (/root/node/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! error installing socket.io@0.8.7 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing socket.io@0.8.7 at maybeExit (child_process.js:359:16)
npm ERR! error installing socket.io@0.8.7 at Process.onexit (child_process.js:395:5)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1322129911080/1322129911080-0.4146254085935652/tmp.tgz" "-o"`
npm ERR! failed with 2
npm ERR! at ChildProcess. (/root/node/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! at ChildProcess.emit (events.js:70:17)
npm ERR! at maybeExit (child_process.js:359:16)
npm ERR! at Process.onexit (child_process.js:395:5)
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.30.5-xenU
npm ERR! command "node" "/root/node/bin/npm" "install" "socket.io"
npm ERR! cwd /root
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.0.106
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm not ok