I’ve added a valid “author”: “First Last”, to the package.json file
I’ve pressed Ctrl + S
I’ve git commit and git push in version control tab on left
I’ve published the repl too.
I pressed play button to make it go live on port 3000.
I’ve refreshed the webpages for both replit AND freeCodeCamp.
Still, when I put my live link in test for freecodecamp, it fails.
(P.S. I’ve also tried the incorrect method of putting replit code repository link in browser which also fails) (P.P.S loading my live link in browser leads to ERR_SSL_PROTOCOL_ERROR, saw something in server.js that limits origin? No solution for me on google search)
I don’t know a whole lot about replit (I use Github + Heroku for all my back end projects) but when I tried with the following link it passed the tests: https://boilerplate-npm--davidogbeide.repl.co/
Try restarting with a new Replit, if that doesn’t work use a VPN and restart (the SSL issues often seem location-based). Another option is using a different site like Glitch.
You can always use the URL from the preview iframe. Below is your project iframe URL.
oh, wow: you put npm–davidogbeide
whereas I put npm.davidogbeide
which was what showed up as part of my link… This fixed the problem thanks…
I have literally never seen this typo issue anywhere but for some reason, yours with the extra 2 dashes worked and mine without them didn’t It’s amazing how no one else got this problem.
Anyways, many great thanks!
I don’t know man, I was just lucky, I guess. Reading Iasjorg’s post it looks like this is not a rare occurrence. Anyway, glad you were able to get it to work.