MongoDB and Mongoose - Install and Set Up Mongoose

Tell us what’s happening:

I think there is a bug in this problem, mongoose is installed and connection to database is established but tests still fail

image



###Your project link(s)

solution: https://freecodecam-boilerplate-f8407e6nfqi.ws-us110.gitpod.io

Your browser information:

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

Challenge Information:

MongoDB and Mongoose - Install and Set Up Mongoose

do you get access to this “MONGO_URI” in your codebase? did you check it already?

happy coding :slight_smile:

image

Whenever I start the server this goes up so I figured the connection was established correctly

I tried to test out the connection and as you can see it is successful but tests still fail

Are you submitting the URL from the preview window? It is the one with the port number at the start.

https://3000-freecodecam-boilerplate-f8407e6nfqi.ws-us110.gitpod.io 2


We can’t see your code. If you need more help, post a GitHub repo or share a snapshot of your Gitpod workspace.

Yeah that was the problem thanks, for previous challenges I copied URL from my browser and it worked just fine I think(none of them had port at the front)