-
-
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
Status Code 404 Error (Cannot Resolve) When Compiling App with Electron-Builder Using Electron-Prebuilt-Compile #3764
Comments
Ah, OK, I think that explains what you're seeing. That's not how that field is intended to be used. According to the docs:
So it should be a semver string (usually a 3-tuple) like |
I attempted to do just that, but in my compiled production build I get a javascript error pointing to the "import" keyword. This denotes that the app is not yet working with electron-prebuilt-compile in production. What specific configuration, if any, would one use in electron-builder for working with electron-prebuilt-compile? I assume that one would not use the build folder generated by create-react-app; this would defeat the purpose of electron-prebuilt-compile. I tried to do just this (but to no success) and instead use the "public" folder where my index.html page is located -- Electron loads this index.html page. For fields such as |
@JuanDavidLopez95 sorry I can't offer more help. I'm not actually familiar with |
Thank you @jacobq for all the help so far! I will go ahead and close this issue as its original premise has been solved. I will go open a new issue with the |
Hi everyone,
When compiling my React + ElectronJS application using Electron-Builder, I get the following error when
"electronVersion": "electron-prebuilt-compile"
is included in the electron-builder build configuration of package.json:cannot resolve https://github.com/electron/electron/releases/download/velectron-prebuilt-compile/electron-velectron-prebuilt-compile-win32-x64.zip: status code 404
Here is a screenshot of my output:
I thought initially that this was an issue with my wi-fi connection, but I am able to replicate this issue on two different computers connected to different networks, so i doubt it is an internet connectivity problem.
I initially posted this as an issue https://github.com/electron-userland/electron-prebuilt-compile/issues/78 on the electron-prebuilt-compile github; i am posting here as well as it is also related to electron-builder.
Here is my application's package.json:
The text was updated successfully, but these errors were encountered: