
Originally Posted by
trikkky
I have re ran the npm install and it has included the Mongoose module.
when i run the app know i get an error saying
Database names cannot contain the character '.'
If your actual password has spaces or @ symbols in it, try removing them and see if that helps
Next up, the address has to start with an "@" symbol
Code:
var address = '@ds033257.mongolab.com:33257/firstproject';

Originally Posted by
trikkky
Do i need to put the drivers i downloaded from mongo any where in the project .. This is the bit i don't get , if i D/L some drivers or the download you need for windows? what do i do with them? or are they for if you don't want to built in the cloud and you install on your local machine?
From what I can tell it would be either your password or the fact that the "@" was missing from the beginning of the address. If you did the NPM install then you'll see that in the node_modules directory the "mongoose" module is installed. It in turn has a node_modules folder with its dependencies (one of them should be MongoDB)
Bookmarks