Closed erbaafidotama closed 1 year ago
@lxndrblz Can you please confirm that you executed the command in the correct directory? Based on the error message it sounds as the mod go.mod file could not be located.
go.mod? Sorry, Am i must run go mod init
before update?
This problem solved, with run go mod init
.
Thanks @lxndrblz
Hello. Thanks for make amazing hugo theme. I use anatole for my personal blog.
Describe the bug I try to update my anatole theme with run this command in my terminal.
hugo mod get -u github.com/lxndrblz/anatole
but it showing error:go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.
To Reproduce Run
hugo mod get -u github.com/lxndrblz/anatole
in terminalScreenshots
Desktop (please complete the following information):
hugo version
if unsure)Smartphone (please complete the following information):
Thanks.