Managing Packages with Npm Challenge#1

Tell us what’s happening:
Hi, I don’t know why my answer is not being accepted as valid. The challenge is to simply add an author key in the package.json file. I have to paste the link to my code. Maybe I’m not doing it right. I just used the link provided in the intro page and changed the code in that package.json file. I also tried creating my own node.js and a new package.json and simply added the author field but none of them work.

Please let me know what I’m doing wrong and how can I submit the right answer. Thank you for taking the time to answering my question.

Here’s the link I pasted as solution:

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.

Challenge: How to Use package.json, the Core of Any Node.js Project or npm Package

Link to the challenge:

Here’s the link I submitted as my solution:

You are not supposed to pass the JSON file for the Solution. You are supposed to the url created after clicking Run. You will notice however, that when you currently click Run, you get an error showing in the Node console. That is because you added a comment in the package.json file which is not valid syntax. You can not add JavaScript comments to JSON files.

Delete the comment, click Run and submit the url that shows in the box at the top right. It will look something like:


That worked. Thank you so much.