From 2015e3d32c2b01aabbff537ce16ba03d18597c5a Mon Sep 17 00:00:00 2001 From: Tomas Alabes Date: Wed, 18 Jul 2018 15:49:06 -0700 Subject: [PATCH] Updated doc in readme.md Explaining the option to change the location of the precompiled-binaries. Related to #441 and #117. --- packages/grpc-native-core/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/grpc-native-core/README.md b/packages/grpc-native-core/README.md index be9d2778..9b605e25 100644 --- a/packages/grpc-native-core/README.md +++ b/packages/grpc-native-core/README.md @@ -51,6 +51,14 @@ This way, if you depend on both `grpc` and `sqlite3`, only the `sqlite3` package To fix this, you will have to delete the folder `C:\Users\\.node-gyp\\include\node\openssl` and retry `npm install` +## CONFIGURE BINARIES' LOCATION + +You can configure the location from which the pre-compiled binaries are downloaded during installation. + +`npm install --grpc_node_binary_host_mirror=https://your-url.com` + +Or defining `grpc_node_binary_host_mirror` in your `.npmrc`. + ## API DOCUMENTATION See the [API Documentation](https://grpc.io/grpc/node/).