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

Tell us what’s happening:

// running tests

  1. package.json should have a valid “author” key
    // tests completed
    // console output
    [Error:
Error
Cannot GET /_api/package.json
]

here is my link: http://127.0.0.1:5500/

###Your project link(s)

solution: http://127.0.0.1:5500

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Challenge Information:

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

are you using the given starting project?

I clone from the GitHub - freeCodeCamp/boilerplate-express: A boilerplate for the freeCodeCamp curriculum. and edit by adding “author” on package.json

You have cloned the wrong project. It should be freeCodeCamp/boilerplate-npm.

sorry. I pasted the wrong url. I did actually clone the correct repo, boilerplate-npm.


then if you did not change anything else, the server should be live on port 3000
how are you starting the server?

you should use npm start in the project folder

it worked. thank you