Open cedricvanrompay opened 2 years ago
Thanks for reporting this. It looks like it is broken. WIll investigate.
Hello, @pierrec. I was also hit by this error. Just a hint here, I believe there is no need to have another module in ./cmd/lz4c
. I think the common practice is to just have single per-project module, and still the commands under ./cmd/...
are installable this wat via go install github.com/user/project/vN/cmd/xxxx@latest
Hey @pierrec . Again confirming as above: no need to have go.mod
and go.sum
in the cmd/lz4c
directory. It's enough to delete them to get this issue fixed.
As a proof, please install my fork:
go install github.com/wkhere/lz4/cmd/lz4c@latest
which is your project with just go.mod/sum deleted from cmd/lz4c and the module name changed to reflect my github path in the toplevel go.mod.
I can confirm @wkhere's install command works in contrast to the one in the readme
Trying to follow the installation instructions from the README:
I tried several things read on the Web like
go clean -modcache
but this does not help