grpc / grpc/grpc-node

Consider posting the platform-specific for `grpc-tools` binaries to npm

Open
#2,967 0 comments 2 reactions 0 assignees View on GitHub
package: grpc-tools
Dominant language
TypeScript
Stars
4.8k
Forks
716
Avg merge
2d 3h
Merged PRs (30d)
10

Description

### Is your feature request related to a problem? Please describe.
`grpc-tools` uses `node-pre-gyp` to fetch platform-specific binaries at install time.
In build environments with an outbound-traffic allow-list this download phase fails, blocking CI/CD pipelines.

#### Environment
* Private build agents behind a strict firewall
* Only a few hosts (such as internal artifact feeds) are reachable

#### Current behaviour
```text
.../node_modules/grpc-tools install: node-pre-gyp http GET https://node-precompiled-binaries.grpc.io/grpc-tools/v1.13.0/linux-x64.tar.gz
.../node_modules/grpc-tools install: node-pre-gyp ERR! install request to https://node-precompiled-binaries.grpc.io/grpc-tools/v1.13.0/linux-x64.tar.gz failed, reason: Client network socket disconnected before secure TLS connection was established
```

### Describe the solution you'd like
Could you provide an installation path that works without any additional endpoints?
For example, ship the binaries in the package or as separate npm packages.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.