isaacs/npm — Issue #1643: Cannot install NPM modules—EACCES, Permission denied
Author: rschenk
Created: 2011-11-02 15:07:14+00:00
State: open

Hello, I created a new nodester app, but can't get any NPM modules to install. The error told me to report it here! The log is pasted below:

````shell
$ nodester app create synynyms
nodester info creating app: synynyms server.js
nodester info successfully created app synynyms to will run on port 12398 from server.js
nodester info run nodester app init synynyms to setup this app.
$
$ nodester app info synynyms
nodester info Gathering information about: synynyms
nodester warn synynyms on port 12398 running: false (pid: unknown)
nodester info gitrepo: git@nodester.com:/node/git/rschenk/4245-08cf4fe1d8242013d68cca50d4f02eb5.git
nodester info appfile: server.js
$
$ git remote add nodester git@nodester.com:/node/git/rschenk/4245-08cf4fe1d8242013d68cca50d4f02eb5.git
$
$ nodester npm install synynyms csv express connect jade request socket.io underscore stylus nib connect-assets
nodester info installing to app: synynyms
nodester info installing these npm packages: csv,express,connect,jade,request,socket.io,underscore,stylus,nib,connect-assets
nodester /bin/sh: line 0: cd: /node/app/rschenk/4245-08cf4fe1d8242013d68cca50d4f02eb5_rw: No such file or directory
nodester npm ERR! Could not create /node_modules/___csv.npm
nodester npm ERR! error installing csv@0.0.10 Error: EACCES, Permission denied '/node_modules/___csv.npm'
nodester npm ERR! Could not create /node_modules/___request.npm
nodester npm ERR! error installing request@2.1.1 Error: EACCES, Permission denied '/node_modules/___request.npm'
nodester npm ERR! Could not create /node_modules/___socket.io.npm
nodester npm ERR! error installing socket.io@0.8.6 Error: EACCES, Permission denied '/node_modules/___socket.io.npm'
nodester npm ERR! Could not create /node_modules/___underscore.npm
nodester npm ERR! error installing underscore@1.2.1 Error: EACCES, Permission denied '/node_modules/___underscore.npm'
nodester npm ERR! Could not create /node_modules/___nib.npm
nodester npm ERR! error installing nib@0.2.0 Error: EACCES, Permission denied '/node_modules/___nib.npm'
nodester npm ERR! Could not create /node_modules/___connect-assets.npm
nodester npm ERR! error installing connect-assets@2.1.3 Error: EACCES, Permission denied '/node_modules/___connect-assets.npm'
nodester npm ERR! Could not create /node_modules/___connect.npm
nodester npm ERR! error installing connect@1.7.2 Error: EACCES, Permission denied '/node_modules/___connect.npm'
nodester npm ERR! Could not create /node_modules/___stylus.npm
nodester npm ERR! error installing stylus@0.19.0 Error: EACCES, Permission denied '/node_modules/___stylus.npm'
nodester npm ERR! Error: EACCES, Permission denied '/node_modules/___csv.npm'
nodester npm ERR! Report this *entire* log at:
nodester npm ERR!
nodester npm ERR! or email it to:
nodester npm ERR!
nodester npm ERR!
nodester npm ERR! System Linux 2.6.35.11-83.9.amzn1.x86_64
nodester npm ERR! command "node" "/usr/bin/npm" "install" "csv" "express" "connect" "jade" "request" "socket.io" "underscore" "stylus" "nib" "connect-assets"
nodester npm ERR! cwd /
nodester npm ERR! node -v v0.4.9
nodester npm ERR! npm -v 1.0.93
nodester npm ERR! path /node_modules/___csv.npm
nodester npm ERR! code EACCES
nodester npm ERR! Error: EACCES, Permission denied 'npm-debug.log'
nodester npm ERR! Report this *entire* log at:
nodester npm ERR!
nodester npm ERR! or email it to:
nodester npm ERR!
nodester npm ERR!
nodester npm ERR! System Linux 2.6.35.11-83.9.amzn1.x86_64
nodester npm ERR! command "node" "/usr/bin/npm" "install" "csv" "express" "connect" "jade" "request" "socket.io" "underscore" "stylus" "nib" "connect-assets"
nodester npm ERR! cwd /
nodester npm ERR! node -v v0.4.9
nodester npm ERR! npm -v 1.0.93
nodester npm ERR! path npm-debug.log
nodester npm ERR! code EACCES
nodester npm ERR!
nodester npm ERR! Additional logging details can be found in:
nodester npm ERR! /npm-debug.log
nodester npm not ok

nodester warn you should restart your app after you are finished installing packages.
$
````