isaacs/npm — Issue #2057: Can't install dnode and now on CentOS 5
Author: beru222
Created: 2012-01-19 06:19:58+00:00
State: open

Hi.

Can't install dnode. Why?
$ npm --version
1.0.106
$ tar --version
tar (GNU tar) 1.15.1

$ npm install dnode
npm WARN cookie-sessions@0.0.2 package.json: bugs['web'] should probably be bugs['url']
npm ERR! Failed unpacking /tmp/npm-1326953414257/1326953421018-0.2927649763878435/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1326953414257/1326953421018-0.2927649763878435/tmp.tgz to /tmp/npm-1326953414257/1326953421018-0.2927649763878435/contents
npm ERR! error installing socket.io-client@0.8.6 Error: `tar "-zmvxpf" "/tmp/npm-1326953414257/1326953421018-0.2927649763878435/tmp.tgz"`
npm ERR! error installing socket.io-client@0.8.6 failed with 2
npm ERR! error installing socket.io-client@0.8.6 at ChildProcess. (/usr/lib/nodejs/npm/lib/utils/tar.js:217:20)
npm ERR! error installing socket.io-client@0.8.6 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing socket.io-client@0.8.6 at maybeExit (child_process.js:361:16)
npm ERR! error installing socket.io-client@0.8.6 at Process.onexit (child_process.js:397:5)
npm ERR! error installing dnode@0.9.6 Error: `tar "-zmvxpf" "/tmp/npm-1326953414257/1326953421018-0.2927649763878435/tmp.tgz"`
npm ERR! error installing dnode@0.9.6 failed with 2
npm ERR! error installing dnode@0.9.6 at ChildProcess. (/usr/lib/nodejs/npm/lib/utils/tar.js:217:20)
npm ERR! error installing dnode@0.9.6 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing dnode@0.9.6 at maybeExit (child_process.js:361:16)
npm ERR! error installing dnode@0.9.6 at Process.onexit (child_process.js:397:5)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1326953414257/1326953421018-0.2927649763878435/tmp.tgz"`
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 Process.onexit (child_process.js:397: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.21.7-2.fc8xen
npm ERR! command "nodejs" "/usr/bin/npm" "install" "dnode"
npm ERR! cwd /vol/www/example.net/html/substance
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! /vol/www/example.net/html/substance/npm-debug.log
npm not ok

$ npm install now
npm WARN cookie-sessions@0.0.2 package.json: bugs['web'] should probably be bugs['url']
npm WARN node-proxy@0.5.2 package.json: bugs['web'] should probably be bugs['url']

> node-proxy@0.5.2 install /vol/www/example.net/html/substance/node_modules/now/node_modules/node-proxy
> make

BUILDING: C++ Component
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr
'configure' finished successfully (0.024s)
Waf: Entering directory `/vol/www/example.net/html/substance/node_modules/now/node_modules/node-proxy/src/build'
[1/2] cxx: node-proxy.cc -> build/Release/node-proxy_1.o
[2/2] cxx_link: build/Release/node-proxy_1.o -> build/Release/node-proxy.node
Waf: Leaving directory `/vol/www/example.net/html/substance/node_modules/now/node_modules/node-proxy/src/build'
'build' finished successfully (0.464s)
npm ERR! Failed unpacking /tmp/npm-1326953788203/1326953794200-0.9620830295607448/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1326953788203/1326953794200-0.9620830295607448/tmp.tgz to /tmp/npm-1326953788203/1326953794200-0.9620830295607448/contents
npm ERR! error installing socket.io-client@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1326953788203/1326953794200-0.9620830295607448/tmp.tgz"`
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 Process.onexit (child_process.js:397:5)
npm ERR! error installing socket.io@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1326953788203/1326953794200-0.9620830295607448/tmp.tgz"`
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 Process.onexit (child_process.js:397:5)
npm ERR! error installing now@0.7.6 Error: `tar "-zmvxpf" "/tmp/npm-1326953788203/1326953794200-0.9620830295607448/tmp.tgz"`
npm ERR! error installing now@0.7.6 failed with 2
npm ERR! error installing now@0.7.6 at ChildProcess. (/usr/lib/nodejs/npm/lib/utils/tar.js:217:20)
npm ERR! error installing now@0.7.6 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing now@0.7.6 at maybeExit (child_process.js:361:16)
npm ERR! error installing now@0.7.6 at Process.onexit (child_process.js:397:5)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1326953788203/1326953794200-0.9620830295607448/tmp.tgz"`
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 Process.onexit (child_process.js:397: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.21.7-2.fc8xen
npm ERR! command "nodejs" "/usr/bin/npm" "install" "now"
npm ERR! cwd /vol/www/example.net/html/substance
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! /vol/www/example.net/html/substance/npm-debug.log
npm not ok

I do not know what to do