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
This comes from a test that sometimes passes, but it suggest a issue introduced in Go 1.24 on Windows, and that the problem may be a real one for Hugo Windows end users.
Note to self that this may also be the newly upgraded go-internals package.
--- FAIL: TestCommands (0.00s)
--- FAIL: TestCommands/mod_npm_withexisting (2.70s)
testscript.go:584: # Test mod npm.
(2.569s)
> dostounix golden/package.json
> hugo mod npm pack
[stdout]
hugo: downloading modules …
[stderr]
go: no module dependencies to download
go: github.com/gohugoio/hugoTestModule2@upgrade: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in $WORK\hugocache\modules\filecache\modules\pkg\mod\cache\vcs\d2f91cdfc76314648077ca39b736383f6f0c08314f7cec8ae977d44a738e2220: exit status 128:
error: unable to write file $WORK\hugocache\modules\filecache\modules\pkg\mod\cache\vcs\d2f91cdfc76314648077ca39b736383f6f0c08314f7cec8ae977d44a738e2220/objects/bb/e586b1c18a6309b2fad34cca634ef6d5297ddc: No such file or directory
fatal: failed to write object
fatal: unpack-objects failed
hugo: collected modules in 2231 msfailed to load modules: failed to get ["github.com/gohugoio/hugoTestModule2@upgrade"]: failed to execute 'go [get github.com/gohugoio/hugoTestModule2@upgrade]': failed to execute binary "go" with args [get github.com/gohugoio/hugoTestModule2@upgrade]: go: github.com/gohugoio/hugoTestModule2@upgrade: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in $WORK\hugocache\modules\filecache\modules\pkg\mod\cache\vcs\d2f91cdfc76314648077ca39b736383f6f0c08314f7cec8ae977d44a738e2220: exit status 128:
error: unable to write file $WORK\hugocache\modules\filecache\modules\pkg\mod\cache\vcs\d2f91cdfc76314648077ca39b736383f6f0c08314f7cec8ae977d44a738e2220/objects/bb/e586b1c18a6309b2fad34cca634ef6d5297ddc: No such file or directory
fatal: failed to write object
fatal: unpack-objects failed
*errors.errorString
[exit status 1]
FAIL: testscripts\commands\mod_npm_withexisting.txt:5: unexpected command failure
I will skip the above test on Windows for now.
The text was updated successfully, but these errors were encountered:
This comes from a test that sometimes passes, but it suggest a issue introduced in Go 1.24 on Windows, and that the problem may be a real one for Hugo Windows end users.
Note to self that this may also be the newly upgraded
go-internals
package.I will skip the above test on Windows for now.
The text was updated successfully, but these errors were encountered: