My Answer won't get accepted despite it being correct

Tell us what’s happening:
Describe your issue in detail here.
Despite me doing the task right, it just won’t accept by the response: // running tests
package.json should have a valid “description” key
// tests completed
Pl Help!
Your project link(s)

solution: https://replit.com/@ritwikduggal/boilerplate-express

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Challenge: Add a Description to Your package.json

Link to the challenge:

1 Like

Looks like you are using different boilerplate code than what challenge requires, link to the boilerplate for “Managing Packages with Npm” can be found at first challenge in that section - 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

Welcome! :slight_smile:

Let’s see:

“Note: Remember to use double-quotes for field-names (”) and commas (,) to separate fields."

Did you follow these instructions? This can be what you are looking for.

Have a good day!

The challenge requires “package.json should have a valid “description” key” which is present.

But it needs specific background code to make test work.

Thanks, but both the suggestions have been correctly implemented.
A good day to you too!

Yes, but I clicked on the [our Replit starter project] hyperlink, to start the project. On the link you provided when I started my project.

You must have clicked it on wrong page, boilerplate for this section is boilerplate-npm, the boilerplate-express that’s used by the linked replit is used by the “Basic Node and Express” section.

1 Like

Yes, that was indeed the problem, thank you! :smiley:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.