protoc-gen-grpckt: program not found or is not executable
See original GitHub issueAfter following the steps in the README.md file I am not able to generate the proto files from the command line
git clone git@github.com:grpc/grpc-kotlin.git
cd grpc-kotlin/
./gradlew build
vi test.proto // make some test proto file
mkdir testDir
protoc --plugin=protoc-gen-grpc-kotlin=build/artifacts/protoc-gen-grpc-kotlin --grpckt_out=testDir --proto_path=. test.proto
And the result from this is
protoc-gen-grpckt: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--grpckt_out: protoc-gen-grpckt: Plugin failed with status code 1.
protoc version - 3.11.4
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:27
Top Results From Across the Web
protoc-gen-go-grpc: program not found or is not executable
the missing plugin has been implemented at https://github.com/grpc/grpc-go. command below should fix it
Read more >protoc-gen-grpc: program not found or is not executable #1
Try executing protoc manually on your files and see if that works. Or check the generated makefile to see which commands are generated...
Read more >protoc-gen-go: program not found or is not executable macos
Solution: First, add option go to the proto file_package = “/proto”; Second, the old version of proto Gen go is adopted, and the...
Read more >protoc & protoc-gen-go installation | go-zero
protoc is a tool written in C++, which can translate proto files into codes in the specified language. In the go-zero microservices, we...
Read more >Quick start | Go - gRPC
This guide gets you started with gRPC in Go with a simple working example. ... Fatalf("could not greet: %v", err) } log.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jamesward alternatively you can prepend the shebang on *nix systems:
0.1.5 is working as binary but the build jar for 0.2.0 is not working.
Download URL: https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-kotlin/0.2.0/protoc-gen-grpc-kotlin-0.2.0-jdk7.jar
Tried chmod +x on the jar file without success.
Here are some execution tests: