Hello everyone. I am stucked at this challange. I have created a database on MongoDB, and did everything they asked me. However I can’t find the error.
The code is the following:
.env file:
# Scrubbed by Glitch 2020-11-02T16:22:50+0000
path=myApp.js:2:11
SECRET=
MADE_WITH=
MONGO_URI=mongodb+srv://trica:<cipolla>@cluster0.ubh7l.mongodb.net/<trica>?retryWrites=true&w=majority
// running tests
"mongodb" dependency should be in package.json (Test timed out)
"mongoose" should be connected to a database
// tests completed
I have to say that I am absolutely new to MongoDB, but still I can’t figure out what I did wrong. What do you think? I am going to put the glitch link as well (I am using the live App code and not the project page):
For future posts, when you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
I think you should remove the angle brackets <> from the URI.
Not sure what you have done there. I am not able to access the project link you have provided, and unfortunately, you are not providing any meaningful logs.