Skip to content

protoc-gen-go install problem #22

Description

@ags-gunza

Hi there!
We've got errors when trying to install protoc-gen-go.
Below is the log:
go get -u github.com/protobuf/protoc-gen-go@v1.2.0
go get: github.com/protobuf/protoc-gen-go@v1.2.0: 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions