I'm trying to deploy a node.js app on the cedar stack that uses MongoHQ. I
am not sure how what to include in package.json to get the mongo module
installed. If include "mongodb": "0.9.1" under dependencies I get

       > mongodb@0.9.1 install /tmp/build_1q8sajeyt0jdx/node_modules/mongodb
       > ./install.sh

       ./install.sh: line 2: [: too many arguments
       Not building native library for cygwin
       make -C ./external-libs/bson
       make[1]: Entering directory
`/tmp/build_1q8sajeyt0jdx/node_modules/mongodb/external-libs/bson'
       rm -rf build .lock-wscript bson.node
       node-waf configure build
       make[1]: node-waf: Command not found
       make[1]: *** [all] Error 127
       make[1]: Leaving directory
`/tmp/build_1q8sajeyt0jdx/node_modules/mongodb/external-libs/bson'
       make: *** [build_native] Error 2
       npm ERR! error installing mongodb@0.9.1 Error: mongodb@0.9.1 install:
`./install.sh`
       npm ERR! error installing mongodb@0.9.1 `sh "-c" "./install.sh"`
failed with 2
       npm ERR! error installing mongodb@0.9.1     at
ChildProcess.<anonymous>
(/mnt/slug-compiler/language_packs/node/vendor/npm/npm-1.0.6/lib/utils/exec.js:49:20)
       npm ERR! error installing mongodb@0.9.1     at ChildProcess.emit
(events.js:67:17)
       npm ERR! error installing mongodb@0.9.1     at ChildProcess.onexit
(child_process.js:192:12)
       npm ERR! mongodb@0.9.1 install: `./install.sh`
       npm ERR! `sh "-c" "./install.sh"` failed with 2
       npm ERR!
       npm ERR! Failed at the mongodb@0.9.1 install script.
       npm ERR! This is most likely a problem with the mongodb package,
       npm ERR! not with npm itself.
       npm ERR! Tell the author that this fails on your system:
       npm ERR!     ./install.sh
       npm ERR! You can get their info via:
       npm ERR!     npm owner ls mongodb
       npm ERR! There is likely additional logging output above.
       npm ERR!
       npm ERR! System Linux 2.6.18-xenU-ec2-v1.2
       npm ERR! command
"/mnt/slug-compiler/language_packs/node/vendor/node/node-0.4.7"
"/mnt/slug-compiler/language_packs/node/vendor/npm/npm-1.0.6/cli.js"
"install"
       npm ERR!
       npm ERR! Additional logging details can be found in:
       npm ERR!     /tmp/build_1q8sajeyt0jdx/npm-debug.log
       npm not ok
 !     Failed to install dependencies with npm
 !     Heroku push rejected, failed to compile Node.js app


/ David

-- 
David Hall, M. Sc., TV4 Sweden

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to