Why does my Electron + React app show “404 Not Found” after production building but works fine in development mode?
I’m working on a project using Electron and React. The app runs perfectly in development mode, but after building it into an .exe or .dmg file, I encounter the following error when launching the application:
Why does my Electron + React app show “404 Not Found” after production building but works fine in development mode?
I’m working on a project using Electron and React. The app runs perfectly in development mode, but after building it into an .exe or .dmg file, I encounter the following error when launching the application:
Why does my Electron + React app show “404 Not Found” after production building but works fine in development mode?
I’m working on a project using Electron and React. The app runs perfectly in development mode, but after building it into an .exe or .dmg file, I encounter the following error when launching the application:
I want to change default electron icon but not able to do that
Here is my package json file cdde.
Blank screen after building with electron-builder
I converted my React app into an Electron app so that I can run the application as a executable. I can run the application no problem in development, but when I build the app using electron-builder and try to run the executable, all that shows is a blank screen. Is this a common error that people run into if so how do I fix it? Also I am not using react-router-dom in my react project nor am I doing any routing to other pages, it is a single page application.