Compling "protoc-gen-grpc-web" on windows.
See original GitHub issueAfter spending hours trying to figure out how to run make command on windows powershell, i finally figured it out, but i still couldn’t compile the protoc-gen-grpc-web plugin. This is the error i get when i run make plugin
.
process_begin: CreateProcess(NULL, uname, ...) failed.
process_begin: CreateProcess(NULL, pwd, ...) failed.
cd ""/javascript/net/grpc/web && make
The system cannot find the path specified.
make: *** [plugin] Error 1
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (2 by maintainers)
Top Results From Across the Web
How do I use protoc-gen-grpc-web on Windows? #342 - GitHub
sudo make install-plugin in the readme is clearly a Linux command. I wish to use this tool on Windows. What do I do?...
Read more >Protocol Buffer Compiler Installation - gRPC
You can install the protocol compiler, protoc , with a package manager under Linux or macOS using the following commands.
Read more >Installation of protoc-gen-grpc-web - Stack Overflow
I have created a service.proto file which was successfully compiled using protoc. The problem arose when I tried to generate the gRPC-Web ......
Read more >protoc-gen-grpc-web - npm
A protoc-gen-grpc-web binary for npm.. Latest version: 1.4.1, last published: 2 months ago. Start using protoc-gen-grpc-web in your project ...
Read more >protoc-gen-grpc-web - Homebrew Formulae
protoc -gen-grpc-web ; stable, ✓, 1.4.2 ; protobuf@3, 3.20.3, Protocol buffers (Google's data interchange format) ; cmake, 3.25.1, Cross-platform make ...
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 Free
Top 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
@CodebyOmar I doubt that compiling on Linux and running on Windows will work. You might be able to compile the plugin on Windows using Bazel.
bazel build --compilation_mode=opt //javascript/net/grpc/web:protoc-gen-grpc-web
The compiled plugin will be located atbazel-bin/javascript/net/grpc/web/protoc-gen-grpc-web
.The pre-built binaries for the
protoc-gen-grpc-web
plugin for Windows has been uploaded along with the latest 1.0.3 release. Please check it out.https://github.com/grpc/grpc-web/releases