I have tried to package my electron app on mac using electron-builder. There are no errors while doing so, however, once I try to open the app I get the following error:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: EACCES: permission denied, mkdir
I have not found any similar errors related to electron-builder and it also works just fine for windows. I have also tried 'sudo'.
Thanks in advance for any help.