Cannot install with go install
SamWhited opened this issue · 0 comments
SamWhited commented
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.