npm install mongodb fails on bson package

311 views
Skip to first unread message

Landon Noss

unread,
May 29, 2012, 12:09:44 PM5/29/12
to node-mongodb-native
trying to install this package fils me on node v0.6.18 on ubuntu lucid
on EC2.

Error: Cannot find module '/home/spot/nodes/slave/node_modules/mongodb/
node_modules/bson/install.js'
at Function._resolveFilename (module.js:337:11)
at Function._load (module.js:279:25)
at Array.0 (module.js:484:10)
at EventEmitter._tickCallback (node.js:190:38)

npm ERR! bs...@0.0.6 install: `node install.js`
npm ERR! `sh "-c" "node install.js"` failed with 1
npm ERR!
npm ERR! Failed at the bs...@0.0.6 install script.
npm ERR! This is most likely a problem with the bson package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls bson
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.0.0-12-virtual
npm ERR! command "node" "/usr/local/bin/npm" "install" "mongodb"
npm ERR! cwd /home/spot/nodes/slave
npm ERR! node -v v0.6.18
npm ERR! npm -v 1.1.21
npm ERR! code ELIFECYCLE
npm ERR! message bs...@0.0.6 install: `node install.js`
npm ERR! message `sh "-c" "node install.js"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/spot/nodes/slave/npm-debug.log
npm not ok


Stumped. Googled for hours to next to no progress. Any tips? where
to start? I've even tried cloning the git repo for everything and
install that way to no avail.

christkv

unread,
May 29, 2012, 1:28:16 PM5/29/12
to node-mongodb-native
I can't replicate it, did you install node from source as that seems
to be working fine. Also is node in your path ?

On May 29, 6:09 pm, Landon Noss <git...@tvplus.com> wrote:
> trying to install this package fils me on node v0.6.18 on ubuntu lucid
> on EC2.
>
> Error: Cannot find module '/home/spot/nodes/slave/node_modules/mongodb/
> node_modules/bson/install.js'
>     at Function._resolveFilename (module.js:337:11)
>     at Function._load (module.js:279:25)
>     at Array.0 (module.js:484:10)
>     at EventEmitter._tickCallback (node.js:190:38)
>
> npm ERR! b...@0.0.6 install: `node install.js`
> npm ERR! `sh "-c" "node install.js"` failed with 1
> npm ERR!
> npm ERR! Failed at the b...@0.0.6 install script.
> npm ERR! This is most likely a problem with the bson package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR!     node install.js
> npm ERR! You can get their info via:
> npm ERR!     npm owner ls bson
> npm ERR! There is likely additional logging output above.
> npm ERR!
> npm ERR! System Linux 3.0.0-12-virtual
> npm ERR! command "node" "/usr/local/bin/npm" "install" "mongodb"
> npm ERR! cwd /home/spot/nodes/slave
> npm ERR! node -v v0.6.18
> npm ERR! npm -v 1.1.21
> npm ERR! code ELIFECYCLE
> npm ERR! message b...@0.0.6 install: `node install.js`
Reply all
Reply to author
Forward
0 new messages