isaacs/npm — Issue #2162: Fails on install and installing any package
Author: elihorne
Created: 2012-02-15 19:37:01+00:00
State: open

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
101 7881 101 7881 0 0 78554 0 --:--:-- --:--:-- --:--:-- 116k
tar=/usr/bin/tar
version:
bsdtar 2.6.2 - libarchive 2.6.2
install npm@1.0
fetching: http://registry.npmjs.org/npm/-/npm-1.0.106.tgz
0.4.2
1.0.106
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 10.8.0
npm ERR! command "/usr/local/bin/node" "/private/var/folders/++/++4eLE++6+0++4RjPqRgNE+-eZo/-Tmp-/npm.48344/package/cli.js" "rm" "npm" "-gf"
npm ERR! cwd /private/var/folders/++/++4eLE++6+0++4RjPqRgNE+-eZo/-Tmp-/npm.48344/package
npm ERR! node -v v0.4.2
npm ERR! npm -v 1.0.106
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/++/++4eLE++6+0++4RjPqRgNE+-eZo/-Tmp-/npm.48344/package/npm-debug.log
npm not ok
npm ERR! error installing npm@1.0.106 Error: EACCES, Permission denied '/usr/local/bin/npm'
npm ERR! error rolling back npm@1.0.106 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 10.8.0
npm ERR! command "/usr/local/bin/node" "/private/var/folders/++/++4eLE++6+0++4RjPqRgNE+-eZo/-Tmp-/npm.48344/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/++/++4eLE++6+0++4RjPqRgNE+-eZo/-Tmp-/npm.48344/package
npm ERR! node -v v0.4.2
npm ERR! npm -v 1.0.106
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/++/++4eLE++6+0++4RjPqRgNE+-eZo/-Tmp-/npm.48344/package/npm-debug.log
npm not ok
It failed