I installed grpc-web and the protoc-gen-grpc-web through npm. So when I do npm list -g | grep grpc
I get
➜ frontend git:(master) ✗ npm list -g | grep grpc
├─┬ @grpc-gen/protoc-gen-grpc-web@0.4.0
├── grpc-web@1.0.3
├─┬ protoc-gen-grpc@1.2.3
Then I tried to update the protoc-gen-grpc-web plugin to the latest release 1.0.3
but I'm not sure how I should do that.
I downloaded protoc-gen-grpc-web-1.0.3-linux-x86_64
from the release page on https://github.com/grpc/grpc-web/releases and replaced the file protoc-gen-grpc-web
in /usr/local/lib/node_modules/@grpc-gen/protoc-gen-grpc-web/bin/
. But still npm list
lists version 0.4.0
. So how exactly should that work?
'@grpc-gen/protoc-gen-grpc-web' and 'protoc-gen-grpc' are not npm packages maintained by us (i.e. the "grpc" organization on Github). You are correct to download the protoc-gen-grpc-web
plugin from our release page: https://github.com/grpc/grpc-web/releases