Open
Description
Issue: Electron App Mode on Windows Loads Blank Screen
Description
When starting the app mode on Linux, users can cd
into the app
folder and run npm run start
, which spins up both the backend and frontend in a single terminal. However, on Windows users experience an issue where running npm run start
in the app
folder causes the Electron window to load a blank screen.
To work around this issue, Windows users need to manually start the frontend by running npm run start
in the frontend
folder to spin up the frontend on localhost:3000
. Only after this step can they start the app mode in a new terminal, which is not the intended behavior.
Steps to Reproduce
- On a Windows machine,
cd
into theapp
folder. - Run
npm run start
to start the app mode. - Observe that the Electron window loads a blank screen.
Expected Behavior
- The Electron app mode should spin up both the backend and frontend as it does on Linux, without requiring additional steps.
Workaround
- Manually start the frontend by running
npm run start
in thefrontend
folder before starting the app mode in a new terminal. This allows the Electron window to load correctly.