nodester/nodester — Issue #287: Cannot install NPM modules
Author: PabloEskimo
Created: 2012-02-02 11:01:04+00:00
State: open

Hi, me again - sorry!

I'm having trouble installing NPM modules - it looks like my rw folder isn't working properly.
I understand from reading previous issues that the rw folder is created on git push - but mine doesn't seem to have been.

My app is pushed, and running successfully but I still can't install any modules.
I've tried installing both bouncy and socket.io

Thanks!

[pabloeskimo@macbook ~/sonelli-balancer]$ nodester npm install socket.io
nodester info installing to app: sonelli-balancer
nodester info installing these npm packages: socket.io
nodester /bin/sh: line 0: cd: /node/app/PabloEskimo/6042-fed2e7636ae2ceeca8374f1ca974b10c_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! Could not create /node_modules/___socket.io.npm
nodester npm ERR! error installing socket.io@0.8.7 Error: EACCES, Permission denied '/node_modules/___socket.io.npm'
nodester npm ERR! Error: EACCES, Permission denied '/node_modules/___socket.io.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.14-106.49.amzn1.x86_64
nodester npm ERR! command "node" "/usr/bin/npm" "install" "socket.io"
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/___socket.io.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.14-106.49.amzn1.x86_64
nodester npm ERR! command "node" "/usr/bin/npm" "install" "socket.io"
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.
[pabloeskimo@macbook ~/sonelli-balancer]$