-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Blitz unable to find/install any recipe when using a proxy #115
Comments
I've just tried this using So using these versions:
I also couldn't replicate it.
Is there anything different about your environment? Symbolic links? Weird file system? Could you try nuking |
I have forgot to mention that I am using proxy for internet. Could this be the issue here that blitz does not support proxy connections? Proxy is set system wide. Npm, git etc all working fine. I will also try using fresh install. |
Maybe! I'll try setup a proxy soon myself and see if I can replicate it too |
I just tried on a system without proxy and it works fine. |
@mubaidr how are you setting the proxy? Is it through something like |
I am using proxy on system level. (debian system settings ) Btw I have also setup proxy in npm but it did not work. |
Still trying to work out here how recipes work and I'll hopefully be able to help more!
Can you see if this works from your command line? |
Can't test right now, I am on a pc with direct connection. Will test and report as soon as possible. Some more info: According to this: nodejs/node#1490 (comment) Edit 1: Also error message should be updated to reveal exactly what is failing, here: https://github.com/blitz-js/blitz/blob/b18fe2615cbb35ca5170c16ddaff16a4c282b49f/packages/cli/src/commands/install.ts#L170 Edit 2: |
I am willing to create a pull request to add proxy support using environment variables. Let me know |
Good call! I didn't see that. It looks like there are a few options: https://github.com/sindresorhus/got#proxies It looks like it can be set globally on all http/https calls: https://github.com/gajus/global-agent Maybe this is something we can do for the CLI @flybayer whats your suggestion on approach? Then @mubaidr could give it a go :) |
I think let's add them as config items in |
@mubaidr did you want me to have a stab at this one? |
I don't see any potential candidates that need proxy support (or even connect to internet) other than I can work on this. Let me know if |
Yep, blitz.config.js sounds good, and if you get stuck you can jump on discord and someone will help you out! :) |
Sure, Thanks. Also, I think we should also look for proxy environmental variables In short: Enable proxy support in
What do you think? |
@mubaidr sounds good to me |
What is the problem?
Unable to install any recipes using
blitz install
. Triedtailwind
,material-ui
,chakra-ui
so farPaste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:The text was updated successfully, but these errors were encountered: