Building theia with yarn fails with ECONNRESET during electron build in [5/5] Building Fresh Packages... #13629
Replies: 2 comments 2 replies
-
I found a workaround. After peeking at node_modules/electron/install.js I noticed it checks for definition of ELECTRON_SKIP_BINARY_DOWNLOAD. So I ran |
Beta Was this translation helpful? Give feedback.
-
Hey @Penguin4Hire, looking at Electron's documentation, it seems like their downloader uses special env variables for the proxy values. See here. In particular, it expects |
Beta Was this translation helpful? Give feedback.
-
I am new to eclipse theia and somewhat new to nodejs. I had several issues leading up to this one but I was able to resolve them. Most were proxy (i'm behind a corporate firewall) issues but again they should be fixed now. For the life of me though, I cannot get past the below error.
I also tried to install electron globally via npm i electron -g and that fails with a ECONNRESET as well. I can't seem to get past this first build step. I followed the same instructions on my personal machine and I was able to get theia to build and run completely so electron must be available and my corporate configuration must still be amiss in some way. I've googled for theia help and just general npm/nodejs help on this topic and nothing has worked so far. I am hoping someone can provide the missing key or help me debug this. Thanks!
My environment details:
OS: Linux (RHEL 9)
Paths and urls are scrubbed but are believed to be correct
Beta Was this translation helpful? Give feedback.
All reactions