You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't have [`protoc-gen-js`](https://github.com/protocolbuffers/protobuf-javascript) installed, download it from [protocolbuffers/protobuf-javascript](https://github.com/protocolbuffers/protobuf-javascript/releases) and install it on your PATH.
72
+
73
+
Or, use the [third-party](https://www.npmjs.com/package/protoc-gen-js) NPM installer:
74
+
75
+
```
76
+
npm install -g protoc-gen-js
77
+
```
78
+
79
+
### 3. Install gRPC-Web Code Generator
57
80
58
81
You can download the `protoc-gen-grpc-web` protoc plugin from our
If you don't already have `protoc` installed, you will have to download it
62
-
first from [here](https://github.com/protocolbuffers/protobuf-javascript/releases).
84
+
Make sure all executables are discoverable from your PATH.
63
85
64
-
> **NOTE:** Javascript output is no longer supported by `protocolbuffers/protobuf` package as it previously did. Please use the releases from [protocolbuffers/protobuf-javascript](https://github.com/protocolbuffers/protobuf-javascript/releases) instead.
86
+
For example, on MacOS, you can do:
65
87
66
-
Make sure they are both executable and are discoverable from your PATH.
You can optionally verify the plugins works follwoing our [Hello world example](https://github.com/grpc/grpc-web/tree/master/net/grpc/gateway/examples/helloworld#generating-stubs):
0 commit comments