Hi!
I use a library called "Nextron" which is basically NextJS and Electron in one.
There were few vulnerabilities with the included dependencies. (namely got and minimatch)
So I ended up updating electron-builder, @electron-universal and electron to get them all to disappear.
Now to the problem..
For some reason, on Electron 22.0.0, the app is completely blank in dev mode, but works fine in a production build.
On Electron 21.3.3 (Electron 20.x too) it works fine in both dev and prod build.
I do not get any useful errors at all. This is all I see, and it appears in the nodejs console window:
[4212:1201/104023.250:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
url loaded
devtools opened
[10688:1201/104223.060:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is
I've tried different command line flags to disable gpu and hardware acceleration (by using app.commandLine.appendSwitch), and still no difference. So I think that error is unrelated.
This is what my BrowserWindow options are set to:
Would appreciate any replies. ✌️