Skip to content
Advertisement

getting a weird error while trying to connect the app.js with mongodb

I’ve installed MongoDB and the compass as well and everything works just fine, when I try to connect mongo with my app.js I get a weird error. Could any of you tell me what the error means and what can I? Sorry about the links to the images, not allowed to embed images yet.. Thanks in advance Error

enter image description here

Advertisement

Answer

The options you’ve entered are true by default, just remove them. Here is the doc

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement