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
Your project link(s)
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:
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
“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-express that’s used by the linked replit is used by the “Basic Node and Express” section.
Yes, that was indeed the problem, thank you!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.