Getting this error in console when I click I've completed this challenge(Ctrl + Enter)
Failed to load https://***********.glitch.me/_api/package.json: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://learn.freecodecamp.org’ is therefore not allowed access. The response had HTTP status code 404.
First did you cloned the glitch from FCC?
If have cloned your glitch app from FCC and update the package.json and use that share your app URL,
then the test will pass sucessfully.
Just clone the repo from freecodecamp, then using “Share your app”, then paste the link of the project to the solution form, it will pass, I have just passed by doing these step!
Works fine, thanks !
I was sharing the direct link to the file instead of the application.
Any way to improve the Freecodecamp doc with the screenshots you sent me ?
I’d rather work locally and push to Github though so if you have a clue, I’ll gladly take it too !
Thanks again,
Franck
Hi, folks, I think you just need to open your app in browser via shared link of your app to make app working before you submit a challenge with your link.
I am still facing the issue: even though after following instructions form screen shots above. could any help pleas?https://glitch.com/edit/#!/babu-npm-intro?path=package.json:6:23
This is ridiculous. The instructions are horrible. Can’t get it to work. In addition. the ask for help button on the challenge does nothing. There seems to be mass confusion with this challenge. A million threads with no clear answer.