Starting the 'api and microservice' curriculum today but got stuck at step ONE!

I am pretty new to either front-end or back-end programming and just started the API and Microservice curriculum today. However, I couldn’t even pass the very first step.

I submitted my GitHub repo (sorry I am not allowed to post the link yet) which includes a package.json file look like this:
{
“name”: “fcc-learn-npm-package-json”,
“dependencies”: {
“express”: “^4.14.0”
},
“main”: “server.js”,
“scripts”: {
“start”: “node server.js”
},
“engines”: {
“node”: “8.11.2”
},
“repository”: {
“type”: “git”,
“url”: “A link that I have to remove to make this post”
},
“author”: “Shi”
}

So I believe I have added the author key-value pair. Not sure why the page kept returning a message saying “package.json should have a valid “author” key”.

Am I making the submission correctly? If yes, then it means my package.json is not correctly formatted? Any suggestions/feedback are appreciated!

Hi,
I have an idea why tests fail.
You write:

I submitted my GitHub repo

Well, you need to submit a link to a running app and not just the repo. I would suggest to use Glitch or deploy your project on another platform but it must be publicly visible.

Regarding Github - if you considering to host your project on Github pages you should know that Github pages host only static HTML pages. No server side technology is supported, so Node.js applications won’t run on GitHub pages.

Hi @orvalho, thank you! that must be the issue.

1 Like