Closed cometbalan closed 10 years ago
Driver name is mongodb not mongoose
On Tue, Jan 7, 2014 at 7:41 AM, cometbalan notifications@github.com wrote:
I am trying to use database.json in my compoundjs project to configure ORM with Mongodb.
But the system shows below error when i started the server
WARNING: JugglingDB adapter "mongoose" is not installed, so your models would not work, to fix run: npm install jugglingdb-mongoose /home/balan/temp/compoundjs/todo-list-app/node_modules/jugglingdb/lib/railway.js:63
if (!schema.adapter) throw new Error('Adapter is not defined');
Reply to this email directly or view it on GitHub: https://github.com/1602/jugglingdb/issues/355
Got it. Thanks, its working fine now.
NOTE : I just changed the driver name from "mongoose" to "mongodb" in config/database.json
I am trying to use database.json in my compoundjs project to configure ORM with Mongodb.
But the system shows below error when i started the server
WARNING: JugglingDB adapter "mongoose" is not installed, so your models would not work, to fix run:
/home/balan/temp/compoundjs/todo-list-app/node_modules/jugglingdb/lib/railway.js:63
if (!schema.adapter) throw new Error('Adapter is not defined');