isaacs/npm — Issue #2229: error installing on Mac OSX Lion
Author: vinc3m1
Created: 2012-03-06 01:24:23+00:00
State: open

just installed node, and running the curl script to install:

```
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 30482 0 --:--:-- --:--:-- --:--:-- 45819
tar=/usr/bin/tar
version:
bsdtar 2.8.3 - libarchive 2.8.3
install npm@1.0
fetching: http://registry.npmjs.org/npm/-/npm-1.0.106.tgz
0.5.11-pre
1.0.106
cleanup prefix=/usr/local

All clean!
npm ERR! error installing npm@1.0.106 Error: EACCESS, Permission denied '../lib/node_modules/npm/bin/npm-cli.js'
npm ERR! Error: EACCESS, Permission denied '../lib/node_modules/npm/bin/npm-cli.js'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "/usr/local/bin/node" "/private/var/folders/js/dnv40mj541nfm56217xc3yw40000gn/T/npm.16189/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/js/dnv40mj541nfm56217xc3yw40000gn/T/npm.16189/package
npm ERR! node -v v0.5.11-pre
npm ERR! npm -v 1.0.106
npm ERR! path ../lib/node_modules/npm/bin/npm-cli.js
npm ERR! code EACCESS
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/js/dnv40mj541nfm56217xc3yw40000gn/T/npm.16189/package/npm-debug.log
npm not ok
It failed
```