Unable to install module 'now' due to 'node-proxy' failing to install

314 views
Skip to first unread message

holonx2

unread,
Jun 29, 2012, 4:43:24 PM6/29/12
to node...@googlegroups.com
Dear Nodesters,

I have been attempting to install a module called 'now' (http://nowjs.com/), and I used the nodester command (nodester npm install <appname> <package names>) - but it fails. One of the modules it requires is called node-proxy. Apparently this module fails to install because it requires a compiled component... if I try and install this (node-proxy) using the command I get the same error.

Here is the error message:

$ nodester npm install waysphere node-proxy
nodester info installing to app: waysphere
nodester info installing these npm packages: node-proxy
nodester > node-...@0.6.0 install /node/app/holonx2/10968-a9a05bae8bb4c9ad12ee
9f60e24fba1f_rw/node_modules/node-proxy
nodester > node-gyp configure build
nodester npm http GET https://registry.npmjs.org/node-proxy
nodester npm http 304 https://registry.npmjs.org/node-proxy
nodester node.js:134
nodester         throw e; // process.nextTick error, or 'error' event on first t
ick
nodester         ^
nodester Error: Cannot find module '../package'
nodester     at Function._resolveFilename (module.js:317:11)
nodester     at Function._load (module.js:262:25)
nodester     at require (module.js:346:19)
nodester     at Object.<anonymous> (/node/base/node-v0.4.9/usr/local/n/versions/
0.6.17/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:68:17)
nodester     at Module._compile (module.js:402:26)
nodester     at Object..js (module.js:408:10)
nodester     at Module.load (module.js:334:31)
nodester     at Function._load (module.js:293:12)
nodester     at require (module.js:346:19)
nodester     at Object.<anonymous> (/node/base/node-v0.4.9/usr/local/n/versions/
0.6.17/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:13:11)
nodester npm ERR! node-...@0.6.0 install: `node-gyp configure build`
nodester npm ERR! `sh "-c" "node-gyp configure build"` failed with 1
nodester npm ERR!
nodester npm ERR! Failed at the node-...@0.6.0 install script.
nodester npm ERR! This is most likely a problem with the node-proxy package,
nodester npm ERR! not with npm itself.
nodester npm ERR! Tell the author that this fails on your system:
nodester npm ERR!     node-gyp configure build
nodester npm ERR! You can get their info via:
nodester npm ERR!     npm owner ls node-proxy
nodester npm ERR! There is likely additional logging output above.
nodester npm ERR!
nodester npm ERR! System Linux 2.6.35.14-106.53.amzn1.x86_64
nodester npm ERR! command "/node/base/node-v0.4.9/usr/local/n/versions/0.6.17/bi
n/node" "/node/base/node-v0.4.9/usr/local/n/versions/0.6.17/bin/npm" "install" "
node-proxy"
nodester npm ERR! cwd /node/app/holonx2/10968-a9a05bae8bb4c9ad12ee9f60e24fba1f_r
w
nodester npm ERR! node -v v0.6.17
nodester npm ERR! npm -v 1.1.21
nodester npm ERR! code ELIFECYCLE
nodester npm ERR! message node-...@0.6.0 install: `node-gyp configure build`
nodester npm ERR! message `sh "-c" "node-gyp configure build"` failed with 1
nodester npm ERR! errno {}
nodester npm ERR!
nodester npm ERR! Additional logging details can be found in:
nodester npm ERR!     /node/app/holonx2/10968-a9a05bae8bb4c9ad12ee9f60e24fba1f_r
w/npm-debug.log
nodester npm not ok


I had a similar error message on Windows (on my machine), I got it working by manually downloading a version with a pre-compiled component and sticking it in the node_modules folder. Of course, this won't work on nodester because it's not running Windows (I'm assuming). 

If anyone can give me any advice I would greatly appreciate it. Basically I just need to get the module 'now' installed. I hope it will be possible on Nodester, as I like it :)

Thank you very much!

Chris.Larky

 

holonx2

unread,
Jun 29, 2012, 4:53:33 PM6/29/12
to node...@googlegroups.com
Sorry I didn't see the other post until after I sent mine - if you want to reply on the other one instead I will check it :) thank you!
Reply all
Reply to author
Forward
0 new messages