loopback
loopback copied to clipboard
Connection to MongoDB fails
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]
Fixed mine by adding "mongodb": "2.2.22" to project's package.json. There's an issue on loopback-connector-mongodb