isaacs/npm — Issue #1954: Getting an error when trying to install node-inspector
Author: GoofyDawg
Created: 2011-12-28 00:25:13+00:00
State: open

Running version npm v1.0.106.

Trying command: sudo npm install -g node-inspector. Get the following log dump:

npm ERR! Failed unpacking /tmp/npm-1325031754861/1325031754861-0.9394874342251569/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1325031754861/1325031754861-0.9394874342251569/tmp.tgz to /tmp/npm-1325031754861/1325031754861-0.9394874342251569/contents
npm ERR! error installing socket.io-client@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1325031754861/1325031754861-0.9394874342251569/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:217: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-1325031754861/1325031754861-0.9394874342251569/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:217: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 installing node-inspector@0.1.10 Error: `tar "-zmvxpf" "/tmp/npm-1325031754861/1325031754861-0.9394874342251569/tmp.tgz" "-o"`
npm ERR! error installing node-inspector@0.1.10 failed with 2
npm ERR! error installing node-inspector@0.1.10 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! error installing node-inspector@0.1.10 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing node-inspector@0.1.10 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1325031754861/1325031754861-0.9394874342251569/tmp.tgz" "-o"`
npm ERR! failed with 2
npm ERR! at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217: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-6-686
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "node-inspector"
npm ERR! cwd /home/brendan
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.106
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/brendan/npm-debug.log
npm not ok