$ npm install
$ npm run dev
following grpc/grpc-web docs
- download
protoc
binary - download
protoc-gen-grpc-web
plugin - compile
helloworld.proto
$ wget -O example.tar.gz https://github.com/grpc/grpc-web/?tab=readme-ov-file
$ tar -xvf example.tar.gz
$ sudo mv protobuf-[버전] /usr/local/bin/
$ npm install -g protoc-gen-grpc-web
$ protoc -I=. helloworld.proto --js_out=import_style=commonjs:. --grpc-web_out=import_style=commonjs,mode=grpcwebtext:.