isaacs/npm — Issue #2023: Errors In Log
Author: SteffanCline
Created: 2012-01-12 05:19:59+00:00
State: open

I installed npm-1.0.106-2.el5.centos.noarch.rpm for use with node.js. When node.js does its dependencies checks, the following errors come up. Is there an easy way to fix these?

[root@xxx etherpad-lite]# bin/installDeps.sh
Copy the settings template to settings.json...
`settings.json.template' -> `settings.json'
Ensure that all dependencies are up to date...
npm WARN gzip@0.1.0 package.json: bugs['web'] should probably be bugs['url']
npm WARN log4js@0.3.9 package.json: bugs['web'] should probably be bugs['url']
npm WARN htmlparser@1.7.3 package.json: bugs['web'] should probably be bugs['url']
npm WARN htmlparser@1.6.2 package.json: bugs['web'] should probably be bugs['url']
npm ERR! Failed unpacking /tmp/npm-1326345127757/1326345153566-0.6782633657567203/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1326345127757/1326345153566-0.6782633657567203/tmp.tgz to /tmp/npm-1326345127757/1326345153566-0.6782633657567203/contents
npm ERR! error installing socket.io-client@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1326345127757/1326345153566-0.6782633657567203/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/lib/nodejs/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:361:16)
npm ERR! error installing socket.io-client@0.8.7 at Socket. (child_process.js:466:7)
npm ERR! error installing socket.io-client@0.8.7 at Socket.emit (events.js:67:17)
npm ERR! error installing socket.io-client@0.8.7 at Array.0 (net.js:320:10)
npm ERR! error installing socket.io-client@0.8.7 at EventEmitter._tickCallback (node.js:192:40)
npm ERR! error installing socket.io@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1326345127757/1326345153566-0.6782633657567203/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/lib/nodejs/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:361:16)
npm ERR! error installing socket.io@0.8.7 at Socket. (child_process.js:466:7)
npm ERR! error installing socket.io@0.8.7 at Socket.emit (events.js:67:17)
npm ERR! error installing socket.io@0.8.7 at Array.0 (net.js:320:10)
npm ERR! error installing socket.io@0.8.7 at EventEmitter._tickCallback (node.js:192:40)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1326345127757/1326345153566-0.6782633657567203/tmp.tgz" "-o"`
npm ERR! failed with 2
npm ERR! at ChildProcess. (/usr/lib/nodejs/npm/lib/utils/tar.js:217:20)
npm ERR! at ChildProcess.emit (events.js:70:17)
npm ERR! at maybeExit (child_process.js:361:16)
npm ERR! at Socket. (child_process.js:466:7)
npm ERR! at Socket.emit (events.js:67:17)
npm ERR! at Array.0 (net.js:320:10)
npm ERR! at EventEmitter._tickCallback (node.js:192:40)
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.12.1.el5
npm ERR! command "nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/etherpad/etherpad-lite
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.0.106
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/etherpad/etherpad-lite/npm-debug.log
npm not ok