Tell us what’s happening:
Below is a link to my pacakge.json which is not passing the tests.
Honestly no idea what’s wrong. I’m guessing it doesn’t like my test setup. It’s hosted on a fresh ubuntu 20.04 Digital Ocean Droplet running nginx.
Any advice would be much appreciated!
Your project link(s)
Your browser information:
User Agent is:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Challenge: How to Use package.json, the Core of Any Node.js Project or npm Package
Link to the challenge:
You need to make sure that your link returns the live site.
The live site should look like this instead of a json file.
You could just run the challenges locally and submit the localhost link.
For the freeCodeCamp Back End Development and APIs certification, you can do all of the challenges locally and submit the local server link. But how does that work exactly? In this article, I will walk you through step by step how to setup the...
Otherwise, if you want to deploy the site make sure you submitting the correct link for the live site.
Most people will use something like Heroku.
Hope that helps!
Lol ok, I see the issue. I was fairly certain it was something fundamental like that. I’ll follow your article… seems like there should maybe be a link to that article in the instructions for those (admittedly few of us) that want to put it up on a live server.
Is there a way to suggest that?
Also Big Thankyou!
You can create an
issue on the freeCodeCamp GitHub page to propose the change.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.