"go install @latest" not working
barakplasma opened this issue · comments
I tried installing latest (c6daddf) with
go install github.com/multiprocessio/dsq@latest
but it failed with
go: downloading github.com/multiprocessio/dsq v0.0.0-20220515195645-c6daddfd43b6
go: github.com/multiprocessio/dsq@latest (in github.com/multiprocessio/dsq@v0.0.0-20220515195645-c6daddfd43b6):
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.
however, this older version's install command worked
go install github.com/multiprocessio/dsq@4ca4a314a0380c55ab9fc12bb03bc2c998d5580c
I think the issue is related to this line 4140b05#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R5
Hey that's unfortunate. Yes I'm using a different version of a 3rd party library in a few places while I wait for a PR in the 3rd party library to merge (if it ever merges).
Are you unable to use one of the binaries on the release page?
latest release binary for linux works for me 👍 just not this command
Lines 48 to 55 in 5b26feb
Good point. I'll change that step. If you clone the repo and install with go build it should work.
Closed in 72bf6bb
You should be able to go install
again now by the way.
confirmed that go install is working again. Thanks @eatonphil !