remy/nodemon — Issue #41: Error: EACCES
Author: elmaguire
Created: 2011-11-03 21:02:48+00:00
State: open

Hi, i was trying to install nodemon to use node.js following this tutorial http://shapeshed.com/journal/creating-a-basic-site-with-node-and-express/ and in the nodemon part, I had this error

$ npm install nodemon -g
npm ERR! Could not create /usr/lib/node_modules/___nodemon.npm
npm ERR! error installing nodemon@0.5.7 Error: EACCES, Permission denied '/usr/lib/node_modules/___nodemon.npm'
npm ERR! Error: EACCES, Permission denied '/usr/lib/node_modules/___nodemon.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 "node" "/usr/bin/npm" "install" "nodemon" "-g"
npm ERR! cwd /Users/nododiseno/node/npm/SitioEjemplo
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.103
npm ERR! path /usr/lib/node_modules/___nodemon.npm
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/nododiseno/node/npm/SitioEjemplo/npm-debug.log
npm not ok

I haven't found any solution on the forums or any other place
Hope you can help me please