Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go install error when installing v0.10.0 #53

Open
mxchencyber opened this issue Nov 2, 2023 · 0 comments
Open

Go install error when installing v0.10.0 #53

mxchencyber opened this issue Nov 2, 2023 · 0 comments

Comments

@mxchencyber
Copy link

mxchencyber commented Nov 2, 2023

Hello! Good to see such a good repo which helps me a lot in my work.

However, when I try to run cmd like
go install github.com/danielvladco/go-proto-gql/protoc-gen-gogql@latest

Terminal showes
go: github.com/danielvladco/go-proto-gql/protoc-gen-gogql@latest (in github.com/danielvladco/go-proto-gql@v0.10.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.

I think go.mod should not contain replace directives like

replace github.com/nautilus/graphql v0.0.20 => github.com/nautilus/graphql v0.0.22

Tmp soluion:
go install github.com/danielvladco/go-proto-gql/protoc-gen-gogql@v0.9.0

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

No branches or pull requests

1 participant