loopback icon indicating copy to clipboard operation
loopback copied to clipboard

Connection to MongoDB fails

Open wohldani opened this issue 9 years ago • 1 comments

Connecting to MongoDB has stopped working:

MongoError: option host is not supported

node_modules/loopback/lib/application.js:246 MongoError: Cannot create data source "mongo": Cannot initialize connector "mongodb": option host is not supported

darwin x64 4.4.6

├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected]

wohldani avatar Feb 13 '17 15:02 wohldani

Fixed mine by adding "mongodb": "2.2.22" to project's package.json. There's an issue on loopback-connector-mongodb

migelfn avatar Feb 13 '17 16:02 migelfn