visionmedia/expresso — Issue #161: npm install errors on osx 10.7.3 
Author: ashyadav
Created: 2012-02-25 21:15:49+00:00
State: open

Get the following errors . I see a similar defect fixed in 0.9.0 due to an issue with packaging. This seems tp have cropped up again.

npm install -g expresso
npm ERR! Could not create /usr/lib/node_modules/___expresso.npm
npm ERR! error installing expresso@0.9.2 Error: EACCES, Permission denied '/usr/lib/node_modules/___expresso.npm'
npm ERR! Error: EACCES, Permission denied '/usr/lib/node_modules/___expresso.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.3.0
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "expresso"
npm ERR! cwd /Users/ashyadav
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.106
npm ERR! path /usr/lib/node_modules/___expresso.npm
npm ERR! code EACCES
npm ERR! Error: EACCES, Permission denied 'npm-debug.log'
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 "node" "/usr/bin/npm" "install" "-g" "expresso"
npm ERR! cwd /Users/ashyadav
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.106
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/ashyadav/npm-debug.log
npm not ok