Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

after recent commit in mongodb module, the loopback-component-storage-mongo does not work anymore #10

Open
raghav135 opened this issue Feb 14, 2017 · 1 comment

Comments

@raghav135
Copy link

After this commit:
mongodb/node-mongodb-native@39102e1

We are getting below issue:

$ node .
Connection fails: { MongoError: option host is not supported
at validOptions (/home/rsr/work/ev-foundation/node_modules/mongodb/lib/mongo_client.js:50:14)
at Function.MongoClient.connect (/home/rsr/work/ev-foundation/node_modules/mongodb/lib/mongo_client.js:194:13)
at MongoStorage.connect (/home/rsr/work/ev-foundation/node_modules/loopback-component-storage-mongo/lib/index.js:53:34)
at Object.exports.initialize (/home/rsr/work/ev-foundation/node_modules/loopback-component-storage-mongo/lib/index.js:559:26)

I feel the best fix can be to change the package.json dependency of mongodb to 2.2.22 , request your help for quick fix : )

@pkgulati
Copy link

For same issue in loopback-connector-mongodb,loopbackio/loopback-connector-mongodb#344, mongodb has been locked to 2.2.22.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants