Skip to content
This repository was archived by the owner on Mar 4, 2022. It is now read-only.
This repository was archived by the owner on Mar 4, 2022. It is now read-only.

protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC #579

Open
@Asalle

Description

@Asalle

Prerequisites:

  1. protoc-gen-go v1.26.0
  2. protoc-gen-go-grpc 1.1.0
  3. libprotoc 3.12.4

Steps to reproduce:

  1. prototool generate <directory>

Expected results:
Generated protocols.

Actual result:

2021-07-12T14:03:00.200+0200	WARN	protoc returned a line we do not understand, please file this as an issue at https://github.com/uber/prototool/issues/new	{"protocLine": "See https://grpc.io/docs/languages/go/quickstart/#regenerate-grpc-code for more information."}
<input>:1:1:See https://grpc.io/docs/languages/go/quickstart/#regenerate-grpc-code for more information.
<input>:1:1:protoc-gen-go: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC

9 times, I assume it's the number of files in the previously mentioned <directory>.

Possible explanation
It seems that protoc-gen-go does not support plugins since v1.2 link.

Is there a way to use the new protoc-gen-go-grpc binary with prototool?

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