Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to download file in postinstall behind proxy #14

Open
Ben-Avrahami opened this issue Feb 28, 2024 · 1 comment
Open

unable to download file in postinstall behind proxy #14

Ben-Avrahami opened this issue Feb 28, 2024 · 1 comment

Comments

@Ben-Avrahami
Copy link

Ben-Avrahami commented Feb 28, 2024

i get an error
Downloading https://github.com/grpc/grpc-web/releases/download/1.4.2/protoc-gen-grpc-web-1.4.2-windows-x86_64.exe npm ERR! connect ETIMEDOUT

im behind a proxy, and cant find a way to make the postinstall run behind a proxy, need a way to add proxy.

@hronro
Copy link
Owner

hronro commented Feb 29, 2024

I plan to make a major rewrite by eliminating the post-install script and utilizing optionalDependencies instead. This change will involve publishing the grpc-web binaries to the NPM registry, ensuring that users without internet access but using internal NPM registry mirrors, as well as those using proxies, can also benefit from it.

The rewrite may not happen right now, so as a workaround for now, you can use something like proxychains-ng to force the whole node.js process using your proxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants