Okay, here are some fixes for this example.
First, make a better copy of https://electron.atom.io/docs/tutorial/quick-start/
You have missed out the definition for the
Also, electron does not seem to find the
main.jsby itself so you have to use
electron ./main.jsthis might depend on the used CLI though.