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

Unable to Install and Execute gqlgen v0.17.47 #3083

Closed
sekky0905 opened this issue May 20, 2024 · 6 comments · Fixed by #3095
Closed

Unable to Install and Execute gqlgen v0.17.47 #3083

sekky0905 opened this issue May 20, 2024 · 6 comments · Fixed by #3095

Comments

@sekky0905
Copy link

What happened?

While attempting to install and run gqlgen version v0.17.47, the following issues are encountered. These issues do not occur with version v0.17.46.

What did you expect?

I expected that gqlgen version v0.17.47 would install and execute without errors, similar to how version v0.17.46 functions.

Problem 1

When running go install github.com/99designs/gqlgen@latest, the following error is encountered:

go: github.com/99designs/gqlgen@latest (in github.com/99designs/gqlgen@v0.17.47):
    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.

Problem 2

When running go install github.com/99designs/gqlgen@v0.17.47 , the following error is encountered:

go: github.com/99designs/gqlgen@v0.17.47 (in github.com/99designs/gqlgen@v0.17.47):
    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.

Problem 3

When running go run github.com/99designs/gqlgen@latest , the following error is encountered:

go: github.com/99designs/gqlgen@latest (in github.com/99designs/gqlgen@v0.17.47):
    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.

Problem 4

When running go run github.com/99designs/gqlgen@v0.17.47 , the following error is encountered:

go: github.com/99designs/gqlgen@v0.17.47 (in github.com/99designs/gqlgen@v0.17.47):
	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.

Note

These issues do not occur with version v0.17.46, where the same commands execute without any errors.

versions

  • go run github.com/99designs/gqlgen version : v0.17.47
  • go version: 1.22.2
@jasondborneman
Copy link

Noticed that this was closed as completed but... I'm still seeing this issue.

$ go install github.com/99designs/gqlgen@v0.17.47
go: github.com/99designs/gqlgen@v0.17.47 (in github.com/99designs/gqlgen@v0.17.47):
	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.

Do I just need to be patient for a new release, @StevenACoffman? Thanks!

@jasondborneman
Copy link

Still seeing this when installing @latest:

$ go install github.com/99designs/gqlgen@latest
go: github.com/99designs/gqlgen@latest (in github.com/99designs/gqlgen@v0.17.47):
	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.

cc: @StevenACoffman

@An-LeMi
Copy link

An-LeMi commented Jun 7, 2024

I still got problem even though installing @lastest or @v0.17.47

go: github.com/99designs/gqlgen@latest (in github.com/99designs/gqlgen@v0.17.47):
        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.

cc: @StevenACoffman

@StevenACoffman
Copy link
Collaborator

@An-LeMi can you try @v0.17.48

@StevenACoffman
Copy link
Collaborator

@jasondborneman the work was done, but it needed a new release cut to include it in @latest

@An-LeMi
Copy link

An-LeMi commented Jun 7, 2024

It's working. Thanks for your support

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

Successfully merging a pull request may close this issue.

4 participants