-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoParseError: URI malformed, cannot be parsed #141
Comments
What was exactly generated for connection string? And what is your operation system? Thanks. |
closing because stale for over 3 months |
Got the same error, and got |
Also it seems like |
this is never even defined by this package |
changing target of the issue:
Note: its for 7.x, because it is an kinda breaking change |
btw, the workaround for now is to add an parameter to |
sorry my bad, I thought I'm using @shelf/jest-mongodb |
this worked, i used |
btw I have a question. Is there any issue with using mongodb-memory-server with jest ? cause I'm getting |
may depend on how you use jest, but i never had that problem |
I'm using jest without even custom configurations |
7b986e1 & 840be19 should fix this ( where was this used when this problem came up, mongodb driver or mongoose or both? @me-nkr @sam-araiza |
BREAKING CHANGE: `getUri`'s parameter got changed to what the actual definition is, and uses "admin" by default fixes #141
🎉 This issue has been resolved in version 7.0.0-beta.45 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
BREAKING CHANGE: `getUri`'s parameter got changed to use ""(empty) by default fixes #141
🎉 This issue has been resolved in version 7.0.0-beta.46 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
mongodb driver for me. our team is not using mongoose. |
mongo driver for me too |
closing because fixed in |
🎉 This issue has been resolved in version 7.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Most of the time it happens that I use nodeJS and name my env file as |
getConnectionString seems to be returning an unsupported URI format. It still connects successfully, but seeing this in the terminal over and over is annoying.
The text was updated successfully, but these errors were encountered: