1602/express-on-railway — Issue #108: using --coffee forces me to be root
Author: alexwall
Created: 2012-01-25 11:03:15+00:00
State: open

how to reproduce:

`railway init myblog --coffee --tpl jade && cd myblog`
`npm install -l `

npm stops installing with:

npm http GET https://registry.npmjs.org/express/-/express-2.5.6.tgz
npm http 200 https://registry.npmjs.org/express/-/express-2.5.6.tgz
npm ERR! Could not remove /Users/me/.npm/express/2.5.6/package

npm ERR! Error: EACCES, permission denied '/Users/me/.npm/express/2.5.6/package'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "express"
npm ERR! cwd /Users/me/Project/myblog
npm ERR! node -v v0.6.8
npm ERR! npm -v 1.1.0-2
npm ERR! path /Users/me/.npm/express/2.5.6/package
npm ERR! code EACCES
npm ERR! message EACCES, permission denied '/Users/me/.npm/express/2.5.6/package'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/me/Project/myblog/npm-debug.log

the same with other packages like `sequelize`, `railway-routes`

No problems after installing this packages manually with `npm install -g thepackage`, but how to avoid installing them globally?