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

Build will fail because of proxy #1

Open
johannesmutter opened this issue Oct 26, 2024 · 1 comment
Open

Build will fail because of proxy #1

johannesmutter opened this issue Oct 26, 2024 · 1 comment

Comments

@johannesmutter
Copy link

Error for the "build:electron" command:

Get "https://github.com/electron/electron/releases/download/v33.0.2/electron-v33.0.2-darwin-arm64.zip": 
proxyconnect tcp: dial tcp :0: connect: can't assign requested address

Fix

set the environment variable export NO_PROXY='*' by adding it to the build command

"build:electron": "export NO_PROXY='*' && electron-builder -m --config build.config.json",
@mhkeller
Copy link
Owner

I don't see this error when I build. I'm also confused as to why it's requesting electron 33 when 30 is in the package.json. I think this may have to do with your network setup.

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