NPM install problem with nowjs

270 views
Skip to first unread message

Filipe Deschamps

unread,
Apr 15, 2012, 9:30:37 PM4/15/12
to nowjs
For some reason, I'm not able to install it via NPM. I could install
normally express module, but I can't figure why I'm receiving these
errors with now module.

~/server/hello-world $ npm install now
npm http GET https://registry.npmjs.org/now
npm http 304 https://registry.npmjs.org/now
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/node-proxy
npm http 304 https://registry.npmjs.org/node-proxy
npm http 304 https://registry.npmjs.org/socket.io

> node-...@0.5.2 install /Users/filiped/server/hello-world/node_modules/now/node_modules/node-proxy
> make

sh: make: command not found
npm ERR! error rolling back n...@0.8.1 Error: ENOTEMPTY, rmdir '/Users/
filiped/server/hello-world/node_modules/now/node_modules/socket.io/lib/
transports'

npm ERR! node-...@0.5.2 install: `make`
npm ERR! `sh "-c" "make"` failed with 127
npm ERR!
npm ERR! Failed at the node-...@0.5.2 install script.
npm ERR! This is most likely a problem with the node-proxy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make
npm ERR! You can get their info via:
npm ERR! npm owner ls node-proxy
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "now"
npm ERR! cwd /Users/filiped/server/hello-world
npm ERR! node -v v0.6.15
npm ERR! npm -v 1.1.16
npm ERR! code ELIFECYCLE
npm ERR! message node-...@0.5.2 install: `make`
npm ERR! message `sh "-c" "make"` failed with 127
npm ERR! errno {}

npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "now"
npm ERR! cwd /Users/filiped/server/hello-world
npm ERR! node -v v0.6.15
npm ERR! npm -v 1.1.16
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! message EACCES, open 'npm-debug.log'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/filiped/server/hello-world/npm-debug.log
npm not ok

Filipe Deschamps

unread,
Apr 15, 2012, 9:33:02 PM4/15/12
to nowjs
~/server/hello-world $ npm ls
npm WARN now * Unmet dependency in /Users/filiped/server/hello-world
npm WARN socket.io * Unmet dependency in /Users/filiped/server/hello-
world
/Users/filiped/server/hello-world
├─┬ exp...@3.0.0alpha1
│ ├── comm...@0.5.2
│ ├─┬ con...@2.1.2
│ │ ├── c...@0.1.0
│ │ ├── formi...@1.0.9
│ │ ├── mi...@1.2.4
│ │ └── q...@0.4.2
│ ├── de...@0.6.0
│ ├── mi...@1.2.5
│ └── mkd...@0.3.1
├── UNMET DEPENDENCY now *
└── UNMET DEPENDENCY socket.io *

Filipe Deschamps

unread,
Apr 15, 2012, 11:44:42 PM4/15/12
to nowjs
I figure it out, phew. It was failing on the MAKE command. To make
this work, you have to install this: https://github.com/kennethreitz/osx-gcc-installer

On Apr 15, 10:33 pm, Filipe Deschamps <fili...@gmail.com> wrote:
> ~/server/hello-world $ npm ls
> npm WARN now * Unmet dependency in /Users/filiped/server/hello-world
> npm WARN socket.io * Unmet dependency in /Users/filiped/server/hello-
> world
> /Users/filiped/server/hello-world
> ├─┬ expr...@3.0.0alpha1
> │ ├── comman...@0.5.2
> │ ├─┬ conn...@2.1.2
> │ │ ├── c...@0.1.0
> │ │ ├── formida...@1.0.9
> │ │ ├── m...@1.2.4
> │ │ └── q...@0.4.2
> │ ├── de...@0.6.0
> │ ├── m...@1.2.5
Reply all
Reply to author
Forward
0 new messages