Alex Rivera | Logout

How can I set up MongoDB on a Node.js server using node-mongodb-native in an EC2 environment?

Asked 2011-01-25T01:12:47.520
12

I got help from many people here, and now I want to contribute back. For those who are having trouble making a Node.js server work with MongoDB, here is what I've done.

Edit
Report

1 Answer

0

It looks like there might be a bug. It won't allow me to use a var for the first argument in a:b inside collection.insert({

It is treating first agument as 'a' or a, hard coded, either way.

I will look into this and post a fix on github

answered 2012-01-08T20:32:50.103

Your Answer