isaacs/npm — Issue #1720: Installation failed - Node 0.6.1
Author: TravelingTechGuy
Created: 2011-11-16 03:15:30+00:00
State: open

Lion 10.7.1, Node 0.6.1. Log follows:

fetching: http://registry.npmjs.org/npm/-/npm-1.0.105.tgz
0.6.1
1.0.105
cleanup prefix=/usr/local

All clean!
npm ERR! Error: EACCES, permission denied '/usr/local/bin/npm'
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/r_/1w9sg19n1pgfpdm4ndwxrb9h0000gn/T/npm.2555/package/cli.js" "rm" "npm" "-gf"
npm ERR! cwd /private/var/folders/r_/1w9sg19n1pgfpdm4ndwxrb9h0000gn/T/npm.2555/package
npm ERR! node -v v0.6.1
npm ERR! npm -v 1.0.105
npm ERR! path /usr/local/bin/npm
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/r_/1w9sg19n1pgfpdm4ndwxrb9h0000gn/T/npm.2555/package/npm-debug.log
npm not ok

npm ERR! error installing npm@1.0.105 Error: EACCES, permission denied '/usr/local/bin/npm'
npm ERR! error rolling back npm@1.0.105 Error: EACCES, permission denied '/usr/local/bin/npm'
npm ERR! Error: EACCES, permission denied '/usr/local/bin/npm'
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/r_/1w9sg19n1pgfpdm4ndwxrb9h0000gn/T/npm.2555/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/r_/1w9sg19n1pgfpdm4ndwxrb9h0000gn/T/npm.2555/package
npm ERR! node -v v0.6.1
npm ERR! npm -v 1.0.105
npm ERR! path /usr/local/bin/npm
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/r_/1w9sg19n1pgfpdm4ndwxrb9h0000gn/T/npm.2555/package/npm-debug.log
npm not ok
It failed