max-mapper / elementary-electron

NodeSchool workshop for learning Electron
228 stars 44 forks source link

Electron Command Does Nothing #14

Open Glorken opened 8 years ago

Glorken commented 8 years ago

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.

JoshuaMorris commented 8 years ago

try electron app.js

SeeringPhil commented 7 years ago

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.