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
> [email protected] 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 [email protected] Error: [email protected] install:
`./install.sh`
npm ERR! error installing [email protected] `sh "-c" "./install.sh"`
failed with 2
npm ERR! error installing [email protected] 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 [email protected] at ChildProcess.emit
(events.js:67:17)
npm ERR! error installing [email protected] at ChildProcess.onexit
(child_process.js:192:12)
npm ERR! [email protected] install: `./install.sh`
npm ERR! `sh "-c" "./install.sh"` failed with 2
npm ERR!
npm ERR! Failed at the [email protected] 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.