No main window opened on MacOS
See original GitHub issueDescribe the bug
After doing a clean checkout and install, npm run watch
starts the Electron app, but no main window appears. The menu is visible, but no window is present.
This is on MacOS Monterey 12.2.
To Reproduce Steps to reproduce the behavior:
- Go to the main repo and clone it
npm install
npm run watch
- No window pops up
Additional context I thought it might be an issue with Electron 17, but reverting to an older commit (7d11dea480400e14d1b4b7f910ea8ab8f472b00d, just before the upgrade to Electron 17) has the same issue.
Running with ELECTRON_ENABLE_LOGGING=1
does not show any errors.
I do notice that there is no dist
folder appearing in packages/renderer
but that may be by design?
The example cloned from https://github.com/electron/electron-quick-start works fine, so it’s not a problem in Electron 17 itself, I guess.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
I just tried it on Windows and see no problem. Maybe someone else on MakOS will be able to check and report it.
Yes, exactly. I’ll try to see if I can reproduce and then report to Vite upstream.