isaacs/npm — Issue #2151: npm install failed...
Author: dannymdesigns
Created: 2012-02-12 02:01:18+00:00
State: open

I'm trying to install npm on a mac and I've got these errors. Any help would be greatly appreciated! Cheers!
==============================================

dannym:~ delux925$ curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7881 100 7881 0 0 14142 0 --:--:-- --:--:-- --:--:-- 93821
tar=/usr/bin/tar
version:
bsdtar 2.8.3 - libarchive 2.8.3
install npm@1.1
fetching: http://registry.npmjs.org/npm/-/npm-1.1.1.tgz
0.6.6
1.1.1
cleanup prefix=/usr/local

All clean!

npm ERR! Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/npm'
npm ERR! You may report this 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/j4/h1_ln8sj4szbvg5xrls494_00000gn/T/npm.3144/package/cli.js" "rm" "npm" "-gf"
npm ERR! cwd /private/var/folders/j4/h1_ln8sj4szbvg5xrls494_00000gn/T/npm.3144/package
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.1
npm ERR! path /usr/local/lib/node_modules/npm
npm ERR! code UNKNOWN
npm ERR! message UNKNOWN, unknown error '/usr/local/lib/node_modules/npm'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/j4/h1_ln8sj4szbvg5xrls494_00000gn/T/npm.3144/package/npm-debug.log
npm not ok
npm ERR! error installing npm@1.1.1
npm ERR! error rolling back npm@1.1.1 Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/npm'

npm ERR! Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/npm'
npm ERR! You may report this 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/j4/h1_ln8sj4szbvg5xrls494_00000gn/T/npm.3144/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/j4/h1_ln8sj4szbvg5xrls494_00000gn/T/npm.3144/package
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.1
npm ERR! path /usr/local/lib/node_modules/npm
npm ERR! code UNKNOWN
npm ERR! message UNKNOWN, unknown error '/usr/local/lib/node_modules/npm'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/j4/h1_ln8sj4szbvg5xrls494_00000gn/T/npm.3144/package/npm-debug.log
npm not ok
It failed