Test failed : package.json should have a valid author key

Tell us what’s happening:

I am new to FCC here, got started w/ managing packages w/ npm

  • In the first test, I added the author key as mentioned in the repl.it
  • BUt when I am pasting the link of the repl and trying to process - it is saying test failed, the package.json should have a valid key “author”

This is my package.json

{
	"name": "fcc-learn-npm-package-json",
  "author" : "Dtech-Dbug",
	"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)

solution: https://replit.com/@DwaipayanChakro/boilerplate-npm-4#package.json

Your browser information:

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

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

Link to the challenge:

Solution

  • I guess pasting the link of the web IDE won’t work.
  • paste the live link which is shown while previewing
1 Like

Hi @Dtech-Dbug !

Welcome to the forum!

Yep :grinning:
A lot of people new to the backend challenges ran into the same issue when using replit for the first time.

Glad you were able to figure it out :grinning:

1 Like

@jwilkins.oboe thanks for responding :smiley:
cheers, and have a great day ahead
and, FCC is a pure Gem!! <3