-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Help in building app without downloading electron from github #2448
Comments
Please see https://github.com/electron-userland/electron-download about setting mirror or cache location. |
Hi, Thanks for reply I read that unfortunately cant make it work. Still it tries to download electron from github only. Error
Thanks |
You can set the mirror via package.json
|
@Ajeey Thanks for the help.It helped to an extend.Seems download is not supported in by host.
Now it is not trying to download Thanks |
similar issue #1859 This is how my release script looks like I manually downloaded
Am I missing any steps Thanks |
@myfrndjk were you able to solve this issue? I am facing the same problem with winCodeSign-1.9.0 and I took the same steps you did. |
@mandyr Please try version 20.8.0 |
@develar I also have the same issue.It downloads electron from repo even though i already have electron in npm_modules.Is there any flag which can point to local installation of electron instead of downloading it everytime a new build is initiated? |
In my case (electron-builder : 20.44.4), the following configuration works. C:\Users\xxx\AppData\Local\electron-builder\cache |
@GKSONG Can you post the package.json you used to make this work? I'm struggling trying to figure it out. |
+1 for the package.json if you still have it |
@myfrndjk have you solved the problem yet? I got same problem and would like to hear any advice from you. Thank you. |
Hi all, I never solved this issue. |
Thank @myfrndjk
|
19.52.1
When I try to build electron in my environment linux host I am getting following error.
getaddrinfo ENOTFOUND github.com github.com:443
On checking the log I found that builder is trying to download electron from github instead of using it from dependencies.Is there a way to use electron which is present inside node_modules or how do i fix that
getaddrinfo ENOTFOUND github.com github.com:443
issue, I guess that issue caused by proxy issue.Thanks
Jk
The text was updated successfully, but these errors were encountered: