Hey I am begineer to github and unable to solve this problem . i have clone the free codecamp json file but after pushing it give me error

//here is my code

"name": "fcc-learn-npm-package-json",


"dependencies": {

    "express": "^4.14.0"


"main": "server.js",

"scripts": {

    "start": "node server.js"


"repository": {

    "type": "git",

    "url": "https://github.com/ankitghag/jsonpractice"



Hello :slight_smile:!

Could you explain in more detail what are you trying to do? What you posted doesn’t tell us anything :sweat_smile:

Are you doing a Free code camp challenge? If so, which one?

What’s the error shown?

It would also help if you provide us with your GitHub repo URL

You can’t submit a GitHub repo, or a JSON file for that matter. It has to be a live site.

Use the repl starter project instead and submit the link from the preview window that opens when running the project.

1 Like

Yes I was doing a free code camp challenge and its was my first challenge of microservices to add author name .

But after commiting I try to push my all file to GitHub ,but its show only commits messages not the file .

Here my both remote name and branch name is gomix

Above pic may help you to understand the problem

1 Like

Sir thank you for replying me to solve my problem but I get it now .its was my stupidity (just a silly mistake


1 Like

Do you know some other ways to make my repo live site ?

I would really suggest just using repl for this.

But you can try hosting it on something like Heroku as well. The host needs to support NodeJS.

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