JSON author tag not being read by repl

Tell us what’s happening:
Getting error:
“package.json should have a valid “author” key”

Browser is Edge

Below is JSON code:


{
  "author": "Ryan Rammell",
	"name": "fcc-learn-npm-package-json",
	"dependencies": {
		"express": "^4.14.0"
	},
	"main": "server.js",
	"scripts": {
		"start": "node server.js"
	},
	"repository": {
		"type": "git",
		"url": "url"
		
	}
}

I made sure to paste correct URL.

  • What more Do I need to do?

Your project link(s)

solution: https://replit.com/@diggerydoo68/boilerplate-npm

Your browser information:

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

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

Link to the challenge:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Are you submitting the live url?

Yes. This is the url I have:
https://boilerplate-npm.diggerydoo68.repl.co

Do I need to be a part of hacker plan in order to do this?

Looks like It was my computer. I tried a different machine and it worked without issue. Just so people are clear It might be your work computer. Try using your personal device instead.

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