Managing Packages with NPM - How to Use package.json, the Core of Any Node.js Project or npm Package

Tell us what’s happening:
Describe your issue in detail here.
Hello I am trying to take the backend course but have a fail test on the first exercise adding author to the package.json. I have cloned the repo locally and ran git init in the project dir then specify author but when i submit the link and clicked i have completed the exercise, i still get test fail. help me rectify that.

Your project link(s)

solution: boilerplate-npm - Replit

Your browser information:

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

Challenge: {{challengeTitle}} Managing Packages with NPM - How to Use package.json, the Core of Any Node.js Project or npm Package

Link to the challenge:

It looks like you just need a comma at the end of the “url” line because you have to separate properties by commas each time:

"repository": {
    "type": "git",
    "url": "https://idontknow/todo.git",
    "author": "Njidda Salifu"
}

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