nodester/nodester — Issue #327: Can't install dependency npm packages to my app
Author: lingyanzhu
Created: 2012-03-02 07:14:18+00:00
State: open

Hi there,

I am trying to get an existing node JS app (which uses express) to run on nodester. Things went fine, until the step “nodester npm install brook express jade” (brook is the name of my app. git repo: git@nodester.com:/node/git/lingyanzhu/6934-2119f3c1e4d1056d7509f33b10949152.git

I am getting EACCES errors. Here is the entire output:
---------------------------
$ nodester npm install brook express jade
nodester info installing to app: brook
nodester info installing these npm packages: express,jade
nodester /bin/sh: line 0: cd: /node/app/lingyanzhu/6934-2119f3c1e4d1056d7509f33b10949152_rw: No such file or directory
nodester npm WARN crypto@0.0.1 package.json: bugs['web'] should probably be bugs['url']
nodester npm ERR! error installing express@2.5.8 Error: EACCES, Permission denied '/node_modules/.bin/express'
nodester npm ERR! error installing jade@0.20.3 Error: EACCES, Permission denied '/node_modules/.bin/jade'
nodester npm ERR! error rolling back express@2.5.8 Error: EACCES, Permission denied '/node_modules/.bin/express'
nodester npm ERR! Error: EACCES, Permission denied '/node_modules/.bin/express'
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.14-106.53.amzn1.x86_64
nodester npm ERR! command "node" "/usr/bin/npm" "install" "express" "jade"
nodester npm ERR! cwd /
nodester npm ERR! node -v v0.4.9
nodester npm ERR! npm -v 1.0.106
nodester npm ERR! path /node_modules/.bin/express
nodester npm ERR! code EACCES
nodester npm ERR! error rolling back jade@0.20.3 Error: EACCES, Permission denied '/node_modules/.bin/jade'
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.14-106.53.amzn1.x86_64
nodester npm ERR! command "node" "/usr/bin/npm" "install" "express" "jade"
nodester npm ERR! cwd /
nodester npm ERR! node -v v0.4.9
nodester npm ERR! npm -v 1.0.106
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.
------------------------

Could you please help?

Thanks,
Lingyan