go-proto-gql
go-proto-gql copied to clipboard
Can't install gql and gogql due to mod replace
I tried to install the binary using the command provided in README.md, but got this error
> [ 2/17] RUN go install github.com/danielvladco/go-proto-gql/[email protected]:
#6 0.225 go: downloading github.com/danielvladco/go-proto-gql v0.8.3
#6 2.103 go install: github.com/danielvladco/go-proto-gql/[email protected] (in github.com/danielvladco/[email protected]):
#6 2.103 The go.mod file for the module providing named packages contains one or
#6 2.103 more replace directives. It must not contain directives that would cause
#6 2.103 it to be interpreted differently than if it were the main module.
found this page. can we do something about it so everything in README.md works as expected and intended?
Can I add a +1 to this please. I am not a go expert by any means - just wanting to use the tool, so despite workarounds for those who understand the ecosystem this is stopping me from using the tool which seems a shame - I'm sure I'm not alone!
Hi @WilliamDugdale, sorry for this issue, it was going on for a while since there are some dependencies that need to be replaced, you can install it by cloning the repo and running make:
git clone [email protected]:danielvladco/go-proto-gql.git
cd go-proto-gql
make
@danielvladco - thank you for the clear instructions!