This is my first time ever using electron,
I just spent about an hour trying to figure out why I couldn't get anything to work. I cloned the quick-start, and followed all the instructions, only to get:
C:\Users\...\Documents\Projects\AutoMM>npm start
> [email protected] start
> electron .
C:\Users\...\Documents\Projects\AutoMM>
I thought to try installing electron globally as a package, and that worked, however, I don't understand why this is required..
As stated in the quick-start guides and the documentations, you're required to npm i electron and then use npm start
However, the only way I can get my app to launch now is using electron ., which would mean if I try to distribute something I make, they would need electron downloaded globally as well to run..? After installing electron globally, the npm start script still doesn't work. So I'm not sure what the problem here is.
Any help?