Test shouldn't fail in APIs and Microservices Certification

Tell us what’s happening:
When I run the test it says:

// running tests
package.json should have a valid "author" key
// tests completed

although there is a valid “author” key

Your code so far
package.json:

{
	"author": "Hussein",
	"dependencies": {
		"express": "^4.17.1"
	}
}

Your browser information:

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

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

Link to the challenge:

Hello there,

  1. Which link are you submitting?
  2. Would you mind sharing a link to your project?

Sorry, I added them before, but it seems I didn’t format the links properly
1
https://boilerplate-npm.hussein_odeh.repl.co
2
https://repl.it/@hussein_odeh/boilerplate-npm

It passes for me if you use the correct URL

https://boilerplate-npm--hussein_odeh.repl.co

thanks, didn’t know I had to use – instead of .

1 Like