isaacs/npm — Issue #1857: error installing npm@1.0.106
Author: noTxt
Created: 2011-12-08 22:57:06+00:00
State: open

I can't seem to install npm. Here's the log:

ID-1104001:~ michaels$ 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 11226 0 --:--:-- --:--:-- --:--:-- 54424
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.4.11
1.0.106
cleanup prefix=/usr/local
altprefix=/usr/local/Cellar/node/0.4.11

All clean!
npm ERR! error installing npm@1.0.106 Error: EACCES, Permission denied '../../../lib/node_modules/npm/man/man3/author.3'
/usr/local/bin/npm_g -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npm-g -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
npm ERR! Error: EACCES, Permission denied '../../../lib/node_modules/npm/man/man3/author.3'
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/aA/aA4DMrIAEJmYVJDmSKywSU+++TM/-Tmp-/npm.3725/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/aA/aA4DMrIAEJmYVJDmSKywSU+++TM/-Tmp-/npm.3725/package
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.106
npm ERR! path ../../../lib/node_modules/npm/man/man3/author.3
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/aA/aA4DMrIAEJmYVJDmSKywSU+++TM/-Tmp-/npm.3725/package/npm-debug.log
npm not ok
It failed