-
Notifications
You must be signed in to change notification settings - Fork 231
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
Support changing download source in postinstall
#3081
Comments
Do you have the error logs by any chance? I believe we are already handling https_proxy variables using https-proxy-agent package. |
That's fixed after rebooting :) |
This is a very serious issue for devs in China. I think we can publish binaries to npm, just like what bun is doing. Then npmmirror will accept this. update: Now I can confirm that it's by passing the proxy. (using bun v1.2.2) My teammate can reproduce it too. Logs
|
Is your feature request related to a problem? Please describe.
You know what GFW had being doing😶
cli/scripts/postinstall.js
Line 44 in d8fe26d
cli/scripts/postinstall.js
Line 52 in d8fe26d
Describe the solution you'd like
Read template string from an environment variable to replace the hard-coded url.
The text was updated successfully, but these errors were encountered: