isaacs/npm — Issue #1587: Cleanup failed
Author: eddy147
Created: 2011-10-22 21:21:07+00:00
State: open

Command given:
$>sudo curl http://npmjs.org/install.sh | sh

Environment: Ubuntu 11.10

Log:

Could not create /usr/lib/node_modules/___npm.npm
npm ERR! error installing npm@1.0.101 Error: EACCES, Permission denied '/usr/lib/node_modules'
npm ERR! Error: EACCES, Permission denied '/usr/lib/node_modules'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 3.0.0-12-generic
npm ERR! command "/usr/bin/node" "/tmp/npm.17033/package/cli.js" "install" "-gf"
npm ERR! cwd /tmp/npm.17033/package
npm ERR! node -v v0.4.9
npm ERR! npm -v 1.0.101
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/npm.17033/package/npm-debug.log
npm not ok
It failed