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
Error while running buf generate command #2955
Comments
Can you share some details? Specifically:
|
@timostamm Following is the .yaml file version: v1beta1
I don't think we are using any .work.yaml file |
This looks like a buf.gen.yaml file. Unfortunately, this doesn't give me any information about what modules and dependencies you use. Do you really not have a buf.yaml file anywhere? What command exactly are you running? |
@timostamm I cannot find any buf.yaml file in repo. I am running buf generate --template *.buf.gen.yaml --path *.proto |
The error messages includes "module buf.build/grpc-ecosystem/grpc-gateway", so you must be using module dependencies somehow, which requires a Your are using a |
Thank you @timostamm |
I have buf installed(version: 1.30.0) locally and trying to run buf generate command. But it is failing with following error:
Failure: files with different commits for the same module buf.build/grpc-ecosystem/grpc-gateway: protoc-gen-openapiv2/options/openapiv2.proto:18e8bf1967c947f5bd991710f490df5f and proto/mygateway-gateway/*******.proto
Even with --verbose flag I can see only one line in terminal. Please help me.
The text was updated successfully, but these errors were encountered: