had the same problem
i have win wista...
1 - uninstall electron
2 - go here https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
download and install - 32 or 64 bit
3 - restart
4 - re-install electron
worked for me,
hope that helps