isaacs/npm — Issue #1796: Issue #1795
Author: zencuke
Created: 2011-11-27 21:08:20+00:00
State: open

I don't have permission to reopen the previous issue.

I changed the version number for npm in package.json and tried again. This time npm gave a permission error on a file in the ~/.npm hierarchy. To fix this I tried to delete npm and reinstall rom scratch but now the npm install process gives me an error from tar. I have no clue how to debug this one. I can't believe that the tar file changed in the few hours since I installed npm the first time but what else could be wrong? Sigh. ..

bash-3.2$ curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7184 100 7184 0 0 43044 0 --:--:-- --:--:-- --:--:-- 84517
version:
tar (GNU tar) 1.14
Copyright (C) 2004 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
fetching: http://registry.npmjs.org/npm/-/npm-1.0.106.tgz

gzip: stdin: decompression OK, trailing garbage ignored
/sw/bin/tar: Child returned status 2
/sw/bin/tar: Error exit delayed from previous errors
It failed
bash-3.2$