Hi Node users, Very new to node.js, I am trying to use node with mongo, but getting NPM errors when installing mongodb.
I am using ubuntu 12.04. I installed node using ubunut apt-get. Node version is v0.6.12 according to node --version. npm install mongodb : npm http GET http://registry.npmjs.org/mongodb npm http 304 http://registry.npmjs.org/mongodb npm http GET http://registry.npmjs.org/mongodb-core/1.2.31 npm http GET http://registry.npmjs.org/readable-stream/1.0.31 npm http GET http://registry.npmjs.org/es6-promise/3.0.2 npm http 304 http://registry.npmjs.org/mongodb-core/1.2.31 npm http 304 http://registry.npmjs.org/readable-stream/1.0.31 npm http 304 http://registry.npmjs.org/es6-promise/3.0.2 npm http GET http://registry.npmjs.org/core-util-is npm http GET http://registry.npmjs.org/isarray/0.0.1 npm http GET http://registry.npmjs.org/string_decoder npm http GET http://registry.npmjs.org/inherits npm http 304 http://registry.npmjs.org/core-util-is npm http 304 http://registry.npmjs.org/isarray/0.0.1 npm http 304 http://registry.npmjs.org/string_decoder npm http 304 http://registry.npmjs.org/inherits npm http GET http://registry.npmjs.org/bson npm http 304 http://registry.npmjs.org/bson npm ERR! error installing [email protected] npm ERR! error installing [email protected] npm ERR! Error: No compatible version found: bson@'>=0.4.20- <0.5.0-' npm ERR! Valid install targets: npm ERR! ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.0","0.1.1","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7"] npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:488:10) npm ERR! at next_ (/usr/share/npm/lib/cache.js:438:17) npm ERR! at next (/usr/share/npm/lib/cache.js:415:44) npm ERR! at /usr/share/npm/lib/cache.js:408:5 npm ERR! at saved (/usr/share/npm/lib/utils/npm-registry-client/get.js:147:7) npm ERR! at Object.oncomplete (/usr/lib/nodejs/graceful-fs.js:230:7) npm ERR! You may report this log at: npm ERR! <http://bugs.debian.org/npm> npm ERR! or use npm ERR! reportbug --attach /home/adam/node_modules/npm-debug.log npm npm ERR! npm ERR! System Linux 3.13.0-93-generic npm ERR! command "node" "/usr/bin/npm" "install" "mongodb" npm ERR! cwd /home/adam/node_modules npm ERR! node -v v0.6.12 npm ERR! npm -v 1.1.4 npm ERR! message No compatible version found: bson@'>=0.4.20- <0.5.0-' npm ERR! message Valid install targets: npm ERR! message ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.0","0.1.1","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7"] npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/adam/node_modules/npm-debug.log npm not ok Any help would be great! -Adam -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/21f91357-ec36-4f11-b22c-aeac56a2943b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
