Github-readme-stats: help with hosting

Created on 12 Jul 2020  路  16Comments  路  Source: anuraghazra/github-readme-stats

I am new to vercel hosting,
When I clicked on deploy I got an error related to code not found,
I belive I did a mistake in setting the correct directory of code on vercel. Can you please be adding more info for self hosting.

  • Thanks
question

Most helpful comment

I had the same issue: Vercel created a new empty repo. I'm new to Vercel so don't know if this is a Vercel bug.

My solution was to fork this repo, then at https://vercel.com/import, "Import Git Repository" _not_ "Import Template"

Might even be better than using this repo as a template, because GitHub recognizes my repo as a fork. So your fork count goes up, and I get the convenient UI for seeing if my repo is behind.

All 16 comments

After clicking the deploy button you should get this screen

image

@anuraghazra yes after here please

Then just click continue and select your account and again click continue, after that you have to create a personal access token from github to add it in the environment variables

@anuraghazra
image

yeah just select the personal account

image
Continue from here

image
Environment variable set here any other change required? @anuraghazra

It should just work. try it

@anuraghazra
Below is the error that is coming
image

Tried after cleaning also but no benefit

Thanks for the quick help :)

Make sure your vercel account is connected to Github

It got deployed, recived a mail
I found that the repo that it created was empty so I cloned the code and added in it's created repo and then used a different name.
I am not sure if this is the reason that solved the issue. But maybe someone can try this in future.
Thankyou again

I see, well vercel should automatically clone the repo to your account if you have github integration enabled

Yes it's enabled without that it wasn't letting me go ahead.
Btwn this is a really nice project, thanks for this.
Issue is solved.

Great!

I had the same issue: Vercel created a new empty repo. I'm new to Vercel so don't know if this is a Vercel bug.

My solution was to fork this repo, then at https://vercel.com/import, "Import Git Repository" _not_ "Import Template"

Might even be better than using this repo as a template, because GitHub recognizes my repo as a fork. So your fork count goes up, and I get the convenient UI for seeing if my repo is behind.

Thanks @olets , This is perfect.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pablohs1986 picture pablohs1986  路  5Comments

NikhilCodes picture NikhilCodes  路  3Comments

thisispratt picture thisispratt  路  4Comments

anuraghazra picture anuraghazra  路  3Comments

nathanchu picture nathanchu  路  5Comments