capacitor-community / electron

Deploy your Capacitor apps to Linux, Mac, and Windows desktops, with the Electron platform! 🖥️
https://capacitor-community.github.io/electron/
MIT License
318 stars 58 forks source link

Unhandled Promise Rejection on build Apps 'ERR_FAILED (-2) loading 'capacitor-electron://-' #287

Closed adityofr9 closed 1 month ago

adityofr9 commented 1 month ago

Hello Everyone! I'm having an issue when running the .exe program of the build results by electron-builder, but the app won't open and only this error popup message that appear. I really don't understand what is happening and what should I do?

image

Here I use help from @capacitor-community/electron and use the 'www' build results from Angular Ionic as a renderer which is set in a capacitor-config.ts file.

I would be happy if anyone would help me Thank you