So I’m just new with Electron js and creating my first project now, I have a problem though in running the sample app found in the GitHub
I have electron installed globally via
npm install electron-prebuilt -g
Then I just copied the codes for the files
index.html. All the same contents without editing anything.
Then I run
electron . on the project directory, it pauses for a moment, and goes back to console input without anything happening, not even errors nor output on the command line:
There is no window showing up, or anything.
I tried checking the task manager, and when I run
electron ., the process
electron.exe runs for a moment and then disappears. I am not sure if this is the default behavior or this is a crash.
EDIT: I tried others like
electron-sample-apps and also doesn’t work