mirror of https://github.com/grpc/grpc-web.git
... in favor of `google-closure-library` npm package. Removed the third_party/closure-library submodule following the instructions here: https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial#Removal Tested: - Verified that `npm run build` inside `packages/grpc-web` generates exactly the same output as before. - Test ran closure client: `docker-compose up --build node-server envoy closure-client` |
||
---|---|---|
.. | ||
README.md | ||
docker-run-interop-tests.sh | ||
docker-run-tests.sh | ||
init_submodules.sh | ||
kokoro.sh | ||
release_notes.py | ||
run_basic_tests.sh | ||
run_interop_tests.sh | ||
test-proxy.sh |
README.md
Scripts
A collection of scripts (mostly test related).
Troubleshooting - Bazel Crashes (OOM)
Bazel can be memory hungry and often crashes while building on Mac with default Docker memory settings (2GB) (similar reports: here and here).
Bump the memory settings in Docker Desktop for Mac (e.g. to 4 - 6GB) if you see the following errors:
$ bazel test --cache_test_results=no //javascript/net/grpc/web/... //net/grpc/gateway/examples/...
...
Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/root/.cache/bazel/_bazel_root/.../server/jvm.out')
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c bazel build javascript/net/grpc/web/... && cp $(bazel info bazel-genfiles)/javascript/net/grpc/web/protoc-gen-grpc-web /usr/local/bin/protoc-gen-grpc-web]: exit code: 37