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
Initialization error: MongoError: a collection already exists #175
Comments
@misuti |
Thank you very much @Swagtex 👍 |
@Swagtex Thank you for your solution 👍👍👍 |
I have same issue and solution of @Swagtex not work for me T_T |
This seems to be related to |
Possible fix: #176 |
If you use various versions of mongodb in your codebase(such as mongoose), another solution is resolutions field in package.json, add: "resolutions": {
"mongoose/**/mongodb": "3.3.3"
}, Then reinstall packages running |
Fixed in winston-mongodb@5.0.3. |
Helpful, Thanks a lot |
I am using the following constructor
It runs without issue for the first time, but whenever I run the code again, it gives me this error
The text was updated successfully, but these errors were encountered: