Skip to content

Electron App Mode on Windows Loads Blank Screen #2258

Open
@vyncent-t

Description

@vyncent-t

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

  1. On a Windows machine, cd into the app folder.
  2. Run npm run start to start the app mode.
  3. 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 the frontend folder before starting the app mode in a new terminal. This allows the Electron window to load correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appblockerCompletely prevents the user from using the software.kind/bugCategorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.regressionBugs for things that used to work in previous releases.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions