How to have a valid "author" key

Tell us what’s happening:
I am running a project on the Freecodecamp replit boilerplate but when I paste the solution link into Freecodecamp it keeps giving me an error.

Your project link(s)
package.json should have a valid “author” key
solution: https://boilerplate-npm-2.tonyrubombora.repl.co

Your browser information:

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

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

Link to the challenge:

Welcome, there.

Do you have your Replit app running, before you submit?

I am getting an error `Repl.it: Updating package configuration

package.json: invalid character ‘}’ looking for beginning of object key string

Repl.it: Package operation failed`

If you click the Run button for your project, you will see an error in the console. It is telling you that your JSON is invalid. You have added an extra character before the final } that should not be there.

1 Like

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