When I'm trying to deploy my react app to github pages, I ran npm run deploy
. It managed to build but has the following errors when deploying:
git-upload-pack '.': git-upload-pack: command not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
My git remote -v
returns:
origin https://github.com/helplah/shopping-cart.git (fetch)
origin https://github.com/helplah/shopping-cart.git (push)