I get this error: hook ('orm') failed to load when trying to raise the sails application using mongoDB. This connections.js file:
module.exports.connections = { mongodb: { adapter : 'sails-mongo', host : 'localhost', port : 27017, database : 'mydb1' } };
And this is my models.js file:
module.exports.models = { connection: 'mongodb' };
And this is my local.js file:
module.exports = { connections: { mongodb: { host : 'localhost', port : 27017, database : 'mydb1' } } }
Sails v 0.10.1
Any idea why this might happen?
thanks
source share