isaacs/npm — Issue #1965: Install NPM 1 Command
Author: fespinoza
Created: 2011-12-30 00:42:01+00:00
State: open

I get the following sequence or errors when I'm tried to install npm

http://pastie.org/3093235

~% curl http://npmjs.org/install.sh | sh (ruby-1.9.3-p0)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7184 100 7184 0 0 7423 0 --:--:-- --:--:-- --:--:-- 22104
tar=/usr/bin/tar
version:
bsdtar 2.8.3 - libarchive 2.8.3
fetching: http://registry.npmjs.org/npm/-/npm-1.0.106.tgz
0.6.6
1.0.106
cleanup prefix=/usr/local

All clean!
npm ERR! Error: EACCES, permission denied '/usr/local/lib/node_modules/npm/AUTHORS'
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 "/usr/local/bin/node" "/private/var/folders/gh/26px78qj6113b0rpwf7gfs0c0000gn/T/npm.60616/package/cli.js" "rm" "npm" "-gf"
npm ERR! cwd /private/var/folders/gh/26px78qj6113b0rpwf7gfs0c0000gn/T/npm.60616/package
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.0.106
npm ERR! path /usr/local/lib/node_modules/npm/AUTHORS
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/gh/26px78qj6113b0rpwf7gfs0c0000gn/T/npm.60616/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 11.2.0
npm ERR! command "/usr/local/bin/node" "/private/var/folders/gh/26px78qj6113b0rpwf7gfs0c0000gn/T/npm.60616/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/gh/26px78qj6113b0rpwf7gfs0c0000gn/T/npm.60616/package
npm ERR! node -v v0.6.6
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/gh/26px78qj6113b0rpwf7gfs0c0000gn/T/npm.60616/package/npm-debug.log
npm not ok