node.js mongodb windows platform requires("mongodb") aborts

49 views
Skip to first unread message

gd52

unread,
Sep 22, 2012, 2:39:54 PM9/22/12
to node-mong...@googlegroups.com
In my project directory, I ran the following from the command line prompt:
npm install mongodb
The resulting messages indicated that it installed successfully.

When I included the line:
var mongodb = require("mongodb");
The application aborted, indicating that it could not find "mongodb".

I tried the same with "mongoskin", with the same results.

I installed "express" and when I included the line:
var express = require("express");
it worked fine.

What is going wrong.
Remember that this is the windows platform.

Chris Kimpton

unread,
Sep 30, 2012, 11:38:25 AM9/30/12
to node-mong...@googlegroups.com
Hi,

Works for me :)

I am using Win7 32bit - are you on 64bit?

Does it work from the node cli ?

Regards,
Chris
Reply all
Reply to author
Forward
0 new messages