npm install electron@v1.8.0
yarn add electron@v1.8.0
Release Notes
Electron 1.8.0 was a beta release that was pulled due to security reasons.
This release now only contains the chromedriver and mksnapshot release files as those are needed for electron-chromedriver and electron-mksnapshot and are not vulnerable to the security issue.