Skip to content

Build: Yarn requests time out behind the proxy #49171

@panther7

Description

@panther7

Preflight Checklist

Electron Version

38.7.3

What operating system(s) are you using?

Windows, macOS, Ubuntu

Operating System Version

Windows 11

What arch are you using?

x64

Last Known Working Electron version

No response

Does the issue also appear in Chromium / Google Chrome?

I don't know how to test

Expected Behavior

Add proxy evn to .yarnrc.yml

diff --git a/.yarnrc.yml b/.yarnrc.yml
index 5b48258e62..cc9fd9357a 100644
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -10,3 +10,7 @@ npmPreapprovedPackages:
   - "@electron/*"

 yarnPath: .yarn/releases/yarn-4.11.0.cjs
+
+httpProxy: "${HTTP_PROXY:-}"
+
+httpsProxy: "${HTTPS_PROXY:-}"

Actual Behavior

Yarn requests time out behind the proxy.

Testcase Gist URL

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions