I think someone accidentally deleted the Glitch files which contained the challenges. Could anyone check?
I meant the link in the “Intro to Node and Express” page. If you fork it through there, it appears to be broken.
In particular, the server file. It reads: "This document has been deleted outside of the editor.
Please run “refresh” in the console."
I also tried the solution mentioned by anku255 on issue #17584 in the freeCodeCamp GitHub.
I added the route, and confirmed that navigating to https://my-glitch.glitch.me/_api/package.json
serves up my package.json, but providing https://my-glitch.glitch.me
as my solution still doesn’t work.
I checked the console, and it looks like it might be a CORS issue. I get this error in the console:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://my-glitch.glitch.me/_api/package.json. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
I also tried creating a new Glitch project and using the Clone from Repo feature, entering https://github.com/freeCodeCamp/boilerplate-npm/
for the repo, and I get: “Couldn’t clone freeCodeCamp/boilerplate-npm/, maybe a typo?”
EDIT:
I was able to get it working by creating a new Glitch project, then replicating all files from the https://github.com/freeCodeCamp/boilerplate-npm/
repo, and then including the route as described by anku255 on issue #17584.