Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Commands fail #36

Closed
CryingWelkin opened this issue Mar 19, 2024 · 2 comments
Closed

Build Commands fail #36

CryingWelkin opened this issue Mar 19, 2024 · 2 comments

Comments

@CryingWelkin
Copy link

When following the build commands provided on a Linux machine, I get the following errors:

┌─[root@htb-arw6grxvuj]─[/home/htb-ac-413848]
└──╼ #git clone https://github.com/lkarlslund/Adalanche Adalanche
cd Adalanche
pwsh build.ps1
<SNIP>
modules/query/nodefilter.go:4:2: package cmp is not in GOROOT (/usr/lib/go-1.19/src/cmp)
/root/go/pkg/mod/github.com/lkarlslund/gonk@v0.0.0-20240227175124-4dc0aa78e98a/gonk.go:9:2: package slices is not in GOROOT (/usr/lib/go-1.19/src/slices)
modules/query/nodefilter.go:4:2: package cmp is not in GOROOT (/usr/lib/go-1.19/src/cmp)
/root/go/pkg/mod/github.com/lkarlslund/gonk@v0.0.0-20240227175124-4dc0aa78e98a/gonk.go:9:2: package slices is not in GOROOT (/usr/lib/go-1.19/src/slices)
modules/query/nodefilter.go:4:2: package cmp is not in GOROOT (/usr/lib/go-1.19/src/cmp)
/root/go/pkg/mod/github.com/lkarlslund/gonk@v0.0.0-20240227175124-4dc0aa78e98a/gonk.go:9:2: package slices is not in GOROOT (/usr/lib/go-1.19/src/slices)
modules/query/nodefilter.go:4:2: package cmp is not in GOROOT (/usr/lib/go-1.19/src/cmp)
/root/go/pkg/mod/github.com/lkarlslund/gonk@v0.0.0-20240227175124-4dc0aa78e98a/gonk.go:9:2: package slices is not in GOROOT (/usr/lib/go-1.19/src/slices)
modules/query/nodefilter.go:4:2: package cmp is not in GOROOT (/usr/lib/go-1.19/src/cmp)
/root/go/pkg/mod/github.com/lkarlslund/gonk@v0.0.0-20240227175124-4dc0aa78e98a/gonk.go:9:2: package slices is not in GOROOT (/usr/lib/go-1.19/src/slices)
modules/query/nodefilter.go:4:2: package cmp is not in GOROOT (/usr/lib/go-1.19/src/cmp)
/root/go/pkg/mod/github.com/lkarlslund/gonk@v0.0.0-20240227175124-4dc0aa78e98a/gonk.go:9:2: package slices is not in GOROOT (/usr/lib/go-1.19/src/slices)

Any thoughts on why this is so (pardon me I am not that knowledgable when it comes to Go)?

@lkarlslund
Copy link
Owner

Your go version is too old, you need go 1.22

@CryingWelkin
Copy link
Author

Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants