You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this issue now with the Hugo docs now -- it has all modules vendored, yet I get this:
go: github.com/gohugoio/[email protected]: invalid version: git fetch -f https://github.com/gohugoio/gohugoioTheme refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /var/folders/n6/s_85mm8d31j6yctssnmn_g1r0000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/9e5a73dca9c7e2dc2c7fb3229c58019935bb92360e5180ff8183a1a74535baf5: exit status 128:
fatal: not a git repository (or any of the parent directories): .git
Error: failed to download modules: go command failed: go: github.com/gohugoio/[email protected]: invalid version: git fetch -f https://github.com/gohugoio/gohugoioTheme refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /var/folders/n6/s_85mm8d31j6yctssnmn_g1r0000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/9e5a73dca9c7e2dc2c7fb3229c58019935bb92360e5180ff8183a1a74535baf5: exit status 128:
fatal: not a git repository (or any of the parent directories): .git
The text was updated successfully, but these errors were encountered:
bep
changed the title
Delay all "go modules error"
Do not check for remote modules if main project is vendored
Nov 14, 2019
OK, I will fix this by not doing any remote modules checking if the main project is vendored (/_vendor). This will allow for fully standalone project not needing any network connection/Go installed etc.
You can run:
hugo --ignoreVendor
If you want to see how it looks like with what is in go.mod.
I have this issue now with the Hugo docs now -- it has all modules vendored, yet I get this:
The text was updated successfully, but these errors were encountered: