When trying to build a hugo site with modules, hugo fails to get modules, because it can’t run go tool.
go and hugo was installed using asdf (https://asdf-vm.com/). go is working fine from any terminal configuration I tried.
Has anyone experienced using hugo with asdf?
❯ hugo mod get -u
unknown command: go. Perhaps you have to reshim?
WARN 2022/10/01 10:42:04 failed to download modules: failed to execute 'go [mod download]': failed to execute binary "go" with args [mod download]: unknown command: go. Perhaps you have to reshim?
*errors.errorString
unknown command: go. Perhaps you have to reshim?
Error: failed to get ["-d" "-u" "github.com/some/module"]: failed to execute 'go [get -d -u github.com/some/module]': failed to execute binary "go" with args [get -d -u github.com/some/module]: unknown command: go. Perhaps you have to reshim?
*errors.errorString