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

Install fails while parsing go.mod #77

Open
retgits opened this issue Nov 5, 2021 · 4 comments
Open

Install fails while parsing go.mod #77

retgits opened this issue Nov 5, 2021 · 4 comments

Comments

@retgits
Copy link

retgits commented Nov 5, 2021

Observed behavior

Following the install instructions results in an error while parsing go.mod

Steps to replicate

  • run go install github.com/google/gnostic@latest
  • run go install github.com/google/gnostic-grpc@latest

result

go install github.com/google/gnostic-grpc@latest
go install: github.com/google/gnostic-grpc@latest: github.com/google/[email protected]: parsing go.mod:
	module declares its path as: github.com/googleapis/gnostic-grpc
	        but was required as: github.com/google/gnostic-grpc

Possible resolution

I was able to install gnostic-grpc using go install github.com/googleapis/gnostic-grpc@latest

jxmallett added a commit to jxmallett/gnostic-grpc that referenced this issue May 19, 2022
The `go install github.com/google/gnostic-grpc@latest` command in the readme fails with the error:

```
go install: github.com/google/gnostic-grpc@latest: github.com/google/[email protected]: parsing go.mod:
	module declares its path as: github.com/googleapis/gnostic-grpc
	        but was required as: github.com/google/gnostic-grpc
```

I'm not sure why `go install github.com/google/gnostic@latest` still works.
laurenz-eschwey-bl added a commit to brainlab-vied/gnostic-grpc that referenced this issue Mar 1, 2023
Addressing Install fails while parsing go.mod google#77
@LorenzHW
Copy link
Collaborator

LorenzHW commented Jun 19, 2023

Is this still an issue? I just installed this repo on a new mac and it worked.

@CodeTappert
Copy link

Yes i still get the issue

@GRbit
Copy link

GRbit commented Sep 25, 2023

It's still an issue for me also.

@mikhail-eremin
Copy link

Still an issue.

Solution suggested above works though

Possible resolution

I was able to install gnostic-grpc using go install github.com/googleapis/gnostic-grpc@latest

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

5 participants