When my electron app starts, I only see a blank page. The weird thing is, that the code haven't changed. Now, even when switching back to an old commit, the problem occurs. There are no error messages. Neither on the main thread nor on the renderer thread.
In the first place, I thought it is related to my new m1max MacBook Pro. But I tested the project, that was previously running on an Intel Mac mini, on an Intel MacBook Pro and also got only a blank page.
The strange thing is, that it is working as expected when the app is packaged. The blank page only occurs, when in dev mode.
Dev mode is using webpack-dev-server
.
The app.html
is loaded and I also see some code is executed. The container for the component handling some redux stuff is also called. The render
function of the component itself, is not called. Not sure, what is happening ...
As there is no error message, it's very hard to get feet on the grounds. Can someone give me some guidance to track the issue down?