isaacs/npm — Issue #1970: NPM fails to install on Node 0.6.7-pre
Author: pawel2105
Created: 2011-12-30 07:51:04+00:00
State: open

vc-gp-n-41-14-56-206:node pawel$ curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
101 7184 101 7184 0 0 4637 0 0:00:01 0:00:01 --:--:-- 7964
tar=/usr/bin/tar
version:
bsdtar 2.6.2 - libarchive 2.6.2
fetching: http://registry.npmjs.org/npm/-/npm-1.0.106.tgz
0.6.7-pre
1.0.106
cleanup prefix=/usr/local

All clean!
npm ERR! Error: EACCES, permission denied '/usr/local/lib/node_modules/npm/.gitmodules'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "/usr/local/bin/node" "/private/var/folders/cr/crFg+xx4Hz44sWmMVecFzk+++TQ/-Tmp-/npm.64629/package/cli.js" "rm" "npm" "-gf"
npm ERR! cwd /private/var/folders/cr/crFg+xx4Hz44sWmMVecFzk+++TQ/-Tmp-/npm.64629/package
npm ERR! node -v v0.6.7-pre
npm ERR! npm -v 1.0.106
npm ERR! path /usr/local/lib/node_modules/npm/.gitmodules
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/cr/crFg+xx4Hz44sWmMVecFzk+++TQ/-Tmp-/npm.64629/package/npm-debug.log
npm not ok
npm ERR! error installing npm@1.0.106 Error: EACCES, permission denied '/usr/local/lib/node_modules/npm/.gitmodules'
npm ERR! error rolling back npm@1.0.106 Error: EACCES, permission denied '/usr/local/lib/node_modules/npm/.gitmodules'
npm ERR! Error: EACCES, permission denied '/usr/local/lib/node_modules/npm/.gitmodules'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "/usr/local/bin/node" "/private/var/folders/cr/crFg+xx4Hz44sWmMVecFzk+++TQ/-Tmp-/npm.64629/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/cr/crFg+xx4Hz44sWmMVecFzk+++TQ/-Tmp-/npm.64629/package
npm ERR! node -v v0.6.7-pre
npm ERR! npm -v 1.0.106
npm ERR! path /usr/local/lib/node_modules/npm/.gitmodules
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/cr/crFg+xx4Hz44sWmMVecFzk+++TQ/-Tmp-/npm.64629/package/npm-debug.log
npm not ok
It failed