Hello!
Could you please help me?
I downloaded this theme and tried to execute on local machine. But unfortunately i had some kind of errors.
Liquid Exception: No repo name found. Specify using PAGES_REPO_NWO environment variables, ‘repository’ in your configuration, or set up an ‘origin’ git remote pointing to your github.com repository. in /_layouts/default.liquid
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
No repo name found. Specify using PAGES_REPO_NWO environment variables, ‘repository’ in your configuration, or set up an ‘origin’ git remote pointing to your github.com repository.
Also, i tried find the similar errors in google: the first results in Google
And i followed by instructions, but it doesn’t give any results. One error is replaced by another error.
What should i do? Maybe just this theme is “Broken” or my arm’s are “Broken”.
It looks like your build it using a plugin that gets data from GitHub like your profile pic or description or repos.
But it doesn’t know who you are.
Here is my solution when getting to this error.
The error message tells you to set repository in your config, so do that.
repository: MyUser/my-repo
e.g.
This value is supposed to be picked up automatically if you have a git repo and push to git. The workaround above is for it can’t be picked up (I don’t know why it happens).
If you do this, you should expect to see a URL for origin and username/reponame.
Could you please clarify if i will delete all git’s files the error will appear anyway?
There no any workarounds for execute this on localhost?
Because no need to push it on github, i should try to use Azure devops