isaacs/npm — Issue #1562: NPM Fails Install
Author: shamoons
Created: 2011-10-17 18:01:34+00:00
State: open

$ curl http://npmjs.org/install.sh | clean=yes sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6862 100 6862 0 0 12582 0 --:--:-- --:--:-- --:--:-- 80729
tar=/usr/bin/tar
version:
bsdtar 2.8.3 - libarchive 2.8.3
Installing without make. This may fail.
fetching: http://registry.npmjs.org/npm/-/npm-1.0.99.tgz
0.4.11
1.0.99
cleanup prefix=/Users/shamoon/local/node

All clean!
npm ERR! Error: EPIPE, Broken pipe
npm ERR! at Socket._writeImpl (net.js:159:14)
npm ERR! at Socket._writeOut (net.js:450:25)
npm ERR! at Socket.write (net.js:377:17)
npm ERR! at /private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package/lib/utils/tar.js:108:15
npm ERR! at /private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package/lib/utils/mkdir-p.js:45:32
npm ERR! at Array.forEach (native)
npm ERR! at cb (/private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package/lib/utils/mkdir-p.js:45:9)
npm ERR! at /private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package/lib/utils/mkdir-p.js:83:50
npm ERR! at cb (/private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package/node_modules/graceful-fs/graceful-fs.js:36:9)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 11.2.0
npm ERR! command "/Users/shamoon/local/node/bin/node" "/private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.99
npm ERR! code EPIPE
npm ERR! Failed unpacking /var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm-1318874460302/1318874460302-0.5717283908743411/tmp.tgz
npm ERR! couldn't unpack /var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm-1318874460302/1318874460302-0.5717283908743411/tmp.tgz to /var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm-1318874460302/1318874460302-0.5717283908743411/contents
npm ERR! Could not install: .
npm ERR! Error: `/sw/bin/tar "-zmvxpf" "/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm-1318874460302/1318874460302-0.5717283908743411/tmp.tgz" "-o"`
npm ERR! failed with 127
npm ERR! at ChildProcess. (/private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package/lib/utils/tar.js:219:20)
npm ERR! at ChildProcess.emit (events.js:67:17)
npm ERR! at Socket. (child_process.js:172:12)
npm ERR! at Socket.emit (events.js:64:17)
npm ERR! at Array.0 (net.js:837:12)
npm ERR! at EventEmitter._tickCallback (node.js:126:26)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 11.2.0
npm ERR! command "/Users/shamoon/local/node/bin/node" "/private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.99
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/t2/czsgnnwx4ys_86hfq04m822r0000gn/T/npm.806/package/npm-debug.log
npm not ok
It failed