Thank you for sharing this tutorial. I work at an Electron app and stumbled upon this tutorial about creating a splash screen... All good, removed the error about deprecated setResizable, added all as suggested by the article but upon npm start the Splash shows up and an error about Uncaught Exception screenshot
If you have a few seconds to inspect a bit the main.js file, here's on pastebin I'm not familiar with Electron nor any programming language for that matter, but I did managed to create an app with Electron Node.js and rederring content with Bootstrap 4x, what was missing is a splash screen and installer (building the exe for this app. So please bare with me. Thank you!
Its not that, but thank you anyway. I will try to find an answer which may be pretty simple to solve for experienced devs, but right now I'm not seeing it. Regards.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you for sharing this tutorial. I work at an Electron app and stumbled upon this tutorial about creating a splash screen... All good, removed the error about deprecated setResizable, added all as suggested by the article but upon npm start the Splash shows up and an error about Uncaught Exception
screenshot
If you have a few seconds to inspect a bit the main.js file, here's on pastebin
I'm not familiar with Electron nor any programming language for that matter, but I did managed to create an app with Electron Node.js and rederring content with Bootstrap 4x, what was missing is a splash screen and installer (building the exe for this app. So please bare with me. Thank you!
I think your error shows up because you didn't initialize the mainWindow object, you need to init it as follow:
In your createWindow method after the windowOptions definition.
Its not that, but thank you anyway. I will try to find an answer which may be pretty simple to solve for experienced devs, but right now I'm not seeing it. Regards.