Open Glorken opened 8 years ago
try electron app.js
I'm a little late to the party but I just started myself and ran into a similar error. Nothing was happening when I tried running electron .
Went back into the code and figured out that I placed the app.on('ready', createWindow)
(among with other directives for catching events) inside the createWindow function.
So just putting these out of there and everything runs fine now.
Let me preface this that I am a total newb with all of this. Simply said, whenever I type 'electron' into my command prompt, nothing happens. There were no issues with installing electron, and it is on my path. It's just that nothing happens.