You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
We've got errors when trying to install protoc-gen-go.
Below is the log:
go get -u github.com/protobuf/[email protected]
go get: github.com/protobuf/[email protected]: invalid version: git ls-remote -q origin in /root/go/pkg/mod/cache/vcs/2a054212b9d0811250f7395e1bba5418745fbe9c52ed18d920706cc173b7b343: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
and when using latest version:
go get -u github.com/protobuf/protoc-gen-go@latest
go get github.com/protobuf/protoc-gen-go@latest: module github.com/protobuf/protoc-gen-go: git ls-remote -q origin in /root/go/pkg/mod/cache/vcs/2a054212b9d0811250f7395e1bba5418745fbe9c52ed18d920706cc173b7b343: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
Looks like we are dealing with private repository
Thank you in advance,
Andrey
The text was updated successfully, but these errors were encountered:
Hi,Andrey.you can try this:
vim ~/.bashrc
export GO111MODULE=on
export GOPROXY=https://goproxy.io
export GONOSUMDB=*
source ~/.bashrc
then you can go get -u github.com/protobuf/[email protected]
Hi there!
We've got errors when trying to install protoc-gen-go.
Below is the log:
go get -u github.com/protobuf/[email protected]
go get: github.com/protobuf/[email protected]: invalid version: git ls-remote -q origin in /root/go/pkg/mod/cache/vcs/2a054212b9d0811250f7395e1bba5418745fbe9c52ed18d920706cc173b7b343: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
and when using latest version:
go get -u github.com/protobuf/protoc-gen-go@latest
go get github.com/protobuf/protoc-gen-go@latest: module github.com/protobuf/protoc-gen-go: git ls-remote -q origin in /root/go/pkg/mod/cache/vcs/2a054212b9d0811250f7395e1bba5418745fbe9c52ed18d920706cc173b7b343: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
Looks like we are dealing with private repository
Thank you in advance,
Andrey
The text was updated successfully, but these errors were encountered: