-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
grpc-ecosystem/grpc-gateway/third_party/googleapis: warning: directory does not exist. #1068
Comments
Can you give me example for this situation?. I'm new member. |
@vctqs1 I gave you a short answer because you ignored the helpful instructions in the issue template which ask you to come to the Gophers slack and ask for help if you're having problems getting started. This issue tracker is not useful for this kind of debugging and assistance. In this case, maybe try starting with https://github.com/johanbrandhorst/grpc-gateway-boilerplate which has everything set up for you. If you still need help, join the gophers slack. |
I installed it according to the instructions but this is still not effective |
I was able to resolve this by doing: That version number will change depending on what you have installed. |
ENV: MacOS
protoc -I/usr/local/include -I. \ -I$GOPATH/src \ -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --go_out=plugins=grpc:pkg/api \ api/*.proto
ERROR:
oogle/api/annotations.proto: File not found.
product.proto: Import "google/api/annotations.proto" was not found or had errors.
/Users/macbookpro/Go/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis: warning: directory does not exist.
google/api/annotations.proto: File not found.
The text was updated successfully, but these errors were encountered: