Hi there,
I was on a version 0.99 and made the mistake to upgrade to the latest version.
Now when i run anything hugo i recieve this error
exit status 128:
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
hugo: collected modules in 1193 ms
Error: failed to download modules: failed to execute 'go [mod download]': failed to execute binary "go" with args [mod download]: go: github.com/tailwindlabs/heroicons@v1.0.6: reading github.com/tailwindlabs/heroicons/go.mod at revision v1.0.6: git ls-remote -q origin in /var/folders/ck/gvmj2pdn21zbtz8zcncfm5980000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/ecb0a6aab76ae32954b6d60074dbc4f5721a5fba93cb4db856ab7a22877ce2e7: exit status 128:
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
*errors.errorString
Now the error is tottally irrelevent as i previosuly find out unless i change the hugo version it will not be solved there have been no change on permissions or anything else.
my previous method of downgrading hugo is not working anymore which was:
brew uninstall hugo
- brew install
https://github.com/Homebrew/homebrew-core/blob/553aa577278e74b4d440e3a0ae485bdd73f157f8/Formula/hugo.rb
As it has been a while since i took the painfull path of downgrading hugo. Does anyone have an idea of a working solution to downgrade hugo to version 0.99
Thanks for taking the time to help