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 program #102

Open
jonesambrosi opened this issue Nov 23, 2020 · 1 comment
Open

Install program #102

jonesambrosi opened this issue Nov 23, 2020 · 1 comment

Comments

@jonesambrosi
Copy link

I have problems when install grpcui

cannot find package "github.com/cncf/udpa/go/udpa/core/v1" in any of:
        c:\go\src\github.com\cncf\udpa\go\udpa\core\v1 (from $GOROOT)
        C:\Users\<user>\go\src\github.com\cncf\udpa\go\udpa\core\v1 (from $GOPATH)

I found in cncf repository one change and exists another version without /v1 directory on master. @v0.0.1 is ok. But I'm no programming in Go to correct that

@jhump
Copy link
Contributor

jhump commented Nov 30, 2020

Hi, @jonesambrosi. Sadly, this is a breakage in a dependency, that happened a little over a week ago. I've been watching to see what happens with this bug. Until that is resolved (or a fix applied to the grpc-go module, to which this repo can then upgrade), you'll likely find it easiest to use brew on a Mac or download pre-compiled binaries from the GitHub releases page.

Another option is to force the Go tool into "module" mode. In module mode, the go get ... would respect the dependency versions pinned in go.mod files, which will use a very specific version of that dependency (from before the breakage).

You could do that like so:

# initialize the current directory as a dummy Go module
go mod init dummy
# now the install should work
go get github.com/fullstorydev/grpcui/...
# clean up dummy module
rm go.mod go.sum

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

2 participants