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

{
“name”: “fcc-learn-npm-package-json”,
“author”: “Mallory”,
“dependencies”: {
“express”: “^4.14.0”
},
“main”: “server.js”,
“scripts”: {
“start”: “node server.js”
},
“repository”: {
“type”: “git”,
“url”: “https://idontknow/todo.git
}
}

[

Your project link(s)]

(https://boilerplate-npm--mallorykatlyn27.repl.co/)

solution: https://boilerplate-npm--mallorykatlyn27.repl.co

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.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

I am getting an error when I try to submit my link that i pasted above, it keeps telling me

// running tests

package.json

should have a valid “author” key // tests completed // console output [Error]

i put added the author field. what am i doing wrong?

I dont know everthing looks ok but you have a square bracket at the bottom of the JSON file.

that was just a typo. that doesnt show up on my replit. am i supposed to be running it? it doesnt specify that in the instructions…

Not unless its part of the code if for some reason you need to add an array,
I don`t hink I ever used them on a Json file.

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