Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Cannot install with go install #244

Open
SamWhited opened this issue Jul 31, 2022 · 0 comments
Open

Cannot install with go install #244

SamWhited opened this issue Jul 31, 2022 · 0 comments

Comments

@SamWhited
Copy link
Collaborator

SamWhited commented Jul 31, 2022

When installing jackal with go install github.com/ortuman/jackal/cmd/jackal@latest or something similar, it will fail with the following:

$ go install github.com/ortuman/jackal/cmd/jackalctl@latest
go: github.com/ortuman/jackal/cmd/jackalctl@latest (in github.com/ortuman/jackal@v0.61.0):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

This is because replace directives are only used for main packages, but Jackal uses them for the libraries as well.

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

No branches or pull requests

1 participant