Stuck in first BackEnd Challenge

Hello,

Please check the instructions of the first challenge from the BackEnd: APIs and Microservices Certification:

Link:
https://www.freecodecamp.org/learn/apis-and-microservices/managing-packages-with-npm/how-to-use-package.json-the-core-of-any-node.js-project-or-npm-package

As stated by @kisan101 in his thread

There is no clear instruction of the link that as a student we should paste to submit the solution of this challenge.

Take note that instructions let submit the solution in glitch or github, and it doesn’t specify if the link should point to the project, or to the file “package.json” or to a different file.

In my case I couldn’t be able to pass this challenge, it is very easy, just to write the "author": "My Name" in the package.json file, but I can’t pass the validation of the solution. It seems that I don’t understand instructions on how to correctly validate de solution or could be because I’m making mistakes cloning the github repo of the challenge.

My github repo for this challenge: https://github.com/andrescaroc/apis-and-microservices-FCC
As you see in the package.json file, the author is set according the challenge instructions and the documentation in npmjs site.

I have tried to validate the solution with the repo link, and the package.json file link with no success.

Also the hint you get fcc is focused on the use of glitch, there is nothing about using github: freeCodeCamp Challenge Guide: How to Use package.json, the Core of Any Node.js Project or npm Package

Could you guide me on what I’m doing wrong?

1 Like

did you get help? am stuck too

Hi @andrescaroc I am not entirely sure you can use Github for these challenges. May be try hosting your app with Github pages and try giving that link. I am using Glitch and it is working fine without any issues.

Optionally you may choose to write your project on another platform but it must be publicly visible for our testing

I think they need the hosted app url rather than the url of the code base in order to test.

@geraldombuthia You have to paste the link to a hosted live site of your project, so if your made it in Glitch, these are the steps:

  1. Click on Share
  2. Click on Live App
  3. Click on Copy
  4. Paste it in the FCC link validator of your challenge

Let github for a later step in your learning path

@acskck agree with you, I recommend using Glitch for this stage

have fun!

3 Likes

thank you, i managed to pass that challenge,
you could helpme in another huddle am facing

I am using github pages for a different challenge. My thoughts are, I ran the developer console on the generated GH page and I don’t see any way you can even access packages.json from the front facing site.

Since the challenges specifically mention you can use github, i am wondering if there are any specific settings we need to enable for this to go through.

1 Like

I haven’t used github myself in the challenges but when you commit/upload your complete working app code, the tests can be done. So don’t use the console to check but check within the code, unless you are generating in another way other than through a commit

From my test result, github project link does not work, only Glitch project link works