Tell us what’s happening:
I have connected to the MongoDB.
When I pasted the link to the glitch, all tests are failed.
I pressed f12 and look at the network tab in chrome and see the url as below.
What link should I use as my solution?
Here is the link to my glitch: https://glitch.com/~shocking-judicious-stock
User Agent is: Chrome/84.0.4147.125
.
Challenge: Install and Set Up Mongoose
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
ilenia
September 1, 2020, 4:23pm
#2
share -> live app
you need to submit the live app link
I already did it, but still error.
ilenia
September 1, 2020, 4:59pm
#4
while trying to open glitch, I get a 502 or 504 error right now - sometimes the issue is just glitch. That’s why freeCodeCamp has moved to repl.it
Due to recent problems with Glitch, we are recommending everyone to start using repl.it for the back-end Node challenges and certification projects. We have already merged this pull request to update all the existing Glitch demo projects and boilerplates used in the challenges to the corresponding repl.it equivalent.
If you have already started the challenges or projects in Glitch, you can continue to do so but be aware the tests may fail unexpectedly and/or you may not be able to access your…
1 Like
I tried replit but still got an error.
Here is the link to my replit: https://repl.it/@Nhat_AnhAnh/fcc-mongodb
ilenia
September 2, 2020, 11:31am
#6
I do not see that
I see an error when running tho:
DB Connection Error: The uri
parameter to openUri()
must be a string, got “undefined”. Make sure the first parameter to mongoose.connect()
or mongoose.createConnection()
is a string.
I can’t help you as I have no experience with mondodb
1 Like
I stored the URI in .env file so you couldn’t see it. Could you try to run it again?
I don’t have much experience with the challenge you linked but from network standpoint you are getting a 404 error (the network screenshot )
The server in glitch It’s not able to identify your URL.
There might be a small typo or something have you checked for those ?
1 Like
From your point, I took a look at network tab again and figured out that I used the wrong template. I fixed it. Thanks.
It should be: https://github.com/freeCodeCamp/boilerplate-mongomongoose
1 Like