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

Can't install on Arch while following docs. #61

Open
RashiqAzhan opened this issue Jun 8, 2022 · 1 comment
Open

Can't install on Arch while following docs. #61

RashiqAzhan opened this issue Jun 8, 2022 · 1 comment

Comments

@RashiqAzhan
Copy link

RashiqAzhan commented Jun 8, 2022

Here is the output when I try to install using Pamac.

cleaning bin/
bin/darch
pkg/cmd/darch/main.go:7:2: no required module provides package github.com/godarch/darch/pkg/cmd/darch/commands/helpers: go.mod file not found in current directory or any parent directory; see 'go help modules'
pkg/cmd/darch/main.go:8:2: no required module provides package github.com/godarch/darch/pkg/cmd/darch/commands/hooks: go.mod file not found in current directory or any parent directory; see 'go help modules'
pkg/cmd/darch/main.go:9:2: no required module provides package github.com/godarch/darch/pkg/cmd/darch/commands/images: go.mod file not found in current directory or any parent directory; see 'go help modules'
pkg/cmd/darch/main.go:10:2: no required module provides package github.com/godarch/darch/pkg/cmd/darch/commands/recipes: go.mod file not found in current directory or any parent directory; see 'go help modules'
pkg/cmd/darch/main.go:11:2: no required module provides package github.com/godarch/darch/pkg/cmd/darch/commands/stage: go.mod file not found in current directory or any parent directory; see 'go help modules'
pkg/cmd/darch/main.go:13:2: no required module provides package github.com/urfave/cli: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:23: build] Error 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: darch

I think the project is dead but still asking for aid if anyone has a solution,

@czuares
Copy link

czuares commented Jun 21, 2022

@RashiqAzhan if you were still having trouble building this package, this worked for me:

go env -w GO111MODULE=auto
go mod init github.com/godarch/darch
go mod tidy
go mod vendor
make
sudo make install

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