HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.36k stars 2.9k forks source link

Error 'Error: failed to load modules: ... ' when running`hugo` on clean build of hugo starter academic #2990

Closed jennyallen closed 1 year ago

jennyallen commented 1 year ago

Preliminary Checks

Description

After I run git clone https://github.com/wowchemy/starter-hugo-academic and then run hugo server, I'm getting the following error.

jnallen@X20GQ7H40M starter-hugo-academic % hugo
hugo: downloading modules …
go: missing github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-core/go.mod at revision modules/wowchemy-core/v0.1.0
go: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8.1-0.20230812165002-59b648791d3f: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /var/folders/nw/zgvt43g90q71j6xm8lckz1s40000gq/T/hugo_cache_jnallen/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
    fatal: pack has 69 unresolved deltas
    fatal: fetch-pack: invalid index-pack output
hugo: collected modules in 2190 ms
Total in 2196 ms
Error: failed to load modules: failed to download modules: failed to execute 'go [mod download]': failed to execute binary "go" with args [mod download]: go: missing github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-core/go.mod at revision modules/wowchemy-core/v0.1.0
go: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8.1-0.20230812165002-59b648791d3f: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /var/folders/nw/zgvt43g90q71j6xm8lckz1s40000gq/T/hugo_cache_jnallen/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
    fatal: pack has 69 unresolved deltas
    fatal: fetch-pack: invalid index-pack output
 *errors.errorString

This is happening in a fresh clone, as well as breaking my ability to update the current site. Any idea what might be happening here?

Reproduction Link

https://github.com/wowchemy/starter-hugo-academic

Steps to Reproduce

  1. git clone https://github.com/wowchemy/starter-hugo-academic.git
  2. hugo

Expected Result

Clean Build

Actual Result

Error: go: missing github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-core/go.mod at revision modules/wowchemy-core/v0.1.0

What Hugo Module versions does your site use?

module github.com/wowchemy/starter-hugo-academic

go 1.15

require ( github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0 // indirect github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0 // indirect github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal v1.0.0 // indirect github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.8.1-0.20230812165002-59b648791d3f )

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome

Which Wowchemy template are you using?

Starter Academic

What version of Hugo are you using?

hugo v0.115.3+extended darwin/arm64 BuildDate=unknown

gcushen commented 1 year ago

Please use the Support link to ask questions on Discord or the Hugo Support Forums.