-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to get remote.origin.url (task must either be run in a git repository with a configured origin remote or must be configured with the "repo" option). #443
Comments
This issue also happens to me. What I foundIn my case, my repo is in the external drive.
Workaroundadd that cache repo path or |
I was also facing the same problem. So i deleted the |
That Work For Me |
None of the other solutions worked for me. I deleted |
Description
When I'm trying to deploy my react app created using
create-react-app
on GitHub pages, I received this error message when executinggh-pages -d build
.Attempts
I've followed the instructions in issue #192 as an attempt to fix the problem. However, non of them works (
git remote add origin
, changinggh-pages
CLI argument, bumpinggh-pages
version, ...etc.)git remote
and the remoteorigin
exists.gh-pages
's CLI arguments as mentioned in Failed to get remote.origin.url (task must either be run in a git repository with a configured origin remote or must be configured with the "repo" option) #192 to set repo URL with-r
optionremote origin
and then add it again withBut none of these work...
Error Message
The text was updated successfully, but these errors were encountered: