Closed Sakh1l closed 11 months ago
Hi @Sakh1l, have you golang installed ?
Hi, yes. I have all three node, Hugo extended and go as said/above versions installed
On Fri, 24 Nov 2023, 23:06 z3k, @.***> wrote:
Hi @Sakh1l https://github.com/Sakh1l, have you golang installed ?
— Reply to this email directly, view it on GitHub https://github.com/zeon-studio/hugoplate/issues/59#issuecomment-1825949430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGK3FL2SGQJFSPXXCEDDUDYGDLIJAVCNFSM6AAAAAA7ZL266GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVHE2DSNBTGA . You are receiving this because you were mentioned.Message ID: @.***>
Hey @Sakh1l, you may need to export go
path. this thread could help you. or you can more specific with your OS and search google how to export go path on windows/mac/linux
.
If everything goes well, then you can see the go version on the terminal by typing go version
. thanks
@tfsomrat Hi, no. I tried that as well. Go path is exported and I have it in my shell environment.
please run go version
, hugo version
and node -v
in the terminal, and give me the output here.
Here is the output. Thanks @tfsomrat
go version go version go1.20.5 linux/amd64
hugo version hugo v0.118.2-da7983ac4b94d97d776d7c2405040de97e95c03d+extended linux/amd64 BuildDate=2023-08-31T11:23:51Z VendorInfo=gohugoio
node -v v18.17.1
Thanks @tfsomrat . I have installed the golang from apt repo and it worked fine. Earlier, complied it from the source code. Now, it works. Thanks for your time and effort on looking in it.
when i try to run the command npm run update-modules am getting below error in linux.
File does not exist. Error: failed to load modules: failed to download modules: binary with name "go" not found
I understand that it has an issue with go modules file go.mod. The same error comes up when we run "hugo mod get -u"