MongoDB and Mongoose - Install and Set Up Mongoose

Tell us what’s happening
For the past two days, I have been tiring to pass this lesson but I am still finding it difficult to.
Whenever I run my webview, I get this error in my console

Your project link(s)

solution: boilerplate-mongomongoose - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 OPR/96.0.0.0

Challenge: MongoDB and Mongoose - Install and Set Up Mongoose

Link to the challenge:

Docs

Also, make sure not to put the connection string inside a string when adding the key/value to Secrets. It will become a double-quoted string if you do (as far as I remember).

Yes!


See my code here!
Link: https://boilerplate-mongomongoose.zikora101.repl.co

MongoDB is trying to connect to the URI you provided, but it is not valid. Check if you filled out the and fields in the URI. If that does’nt work then go back to mongodb and recopy the link

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.