e-oj / Fawn

Transactions for MongoDB (See the README)
https://www.npmjs.com/package/fawn
MIT License
485 stars 54 forks source link

Invalid mongodb uri #92

Open oxygensend opened 2 years ago

oxygensend commented 2 years ago

In had this problem in the production mode

Invalid mongodb uri \"mongodb+srv://9@cluster0.7tvb7.mongodb.net/sample_mflix?retryWrites=true&w=majority\". Must begin with \"mongodb://\""

It seems to me that mongdb packages is to old, to use this tipe of protocol we need a driver of version 3.0.0 or higher

https://stackoverflow.com/questions/48980473/invalid-mongodb-uri-must-begin-with-mongodb