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

Missing descriptor.proto in google/protobbuf #141

Open
sudhiaithal opened this issue Nov 14, 2023 · 0 comments
Open

Missing descriptor.proto in google/protobbuf #141

sudhiaithal opened this issue Nov 14, 2023 · 0 comments

Comments

@sudhiaithal
Copy link

I am trying to use this package by importing using go mod. I see the it requires following from go.mod

google.golang.org/protobuf v1.31.0

But, I checked from the source that descriptor.proto is missing in that

hence I see compile errors when I do protoc

google/protobuf/descriptor.proto: File not found.
patch/go.proto: Import "google/protobuf/descriptor.proto" was not found or had errors.
patch/go.proto:46:8: "google.protobuf.MessageOptions" is not defined.
patch/go.proto:50:8: "google.protobuf.FieldOptions" is not defined.
patch/go.proto:54:8: "google.protobuf.OneofOptions" is not defined.
patch/go.proto:58:8: "google.protobuf.EnumOptions" is not defined.
patch/go.proto:62:8: "google.protobuf.EnumValueOptions" is not defined.
patch/go.proto:95:8: "google.protobuf.FileOptions" is not defined.
greet.proto: Import "patch/go.proto" was not found or had errors.

How to fix this?

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

1 participant