Electron app.on('ready'... never being called and electron window never showing. Seemingly tied to specific Git repository Electron app.on('ready'... never being called and electron window never showing. Seemingly tied to specific Git repository windows windows

Electron app.on('ready'... never being called and electron window never showing. Seemingly tied to specific Git repository


Alright, so I eventually did find a solution to this. This error was caused by attempting to install extra devtools using electron-devtools-installer. I found that the error was caused by data being left over in the %AppData%/electron directory, and the %AppData%/[projectname] directory. Deleting these two directories solves this issue.


Workaround: Call app.removeAllListeners('ready') before app.on('ready', createWindow)