Electron 7 has been released:
Actually - it is supported - it's just not in the wizard.
No. It is not supported.
See #540 #546
Electron 7 works fine with this plugin (except for https://github.com/nklayman/vue-cli-plugin-electron-builder/issues/546, but that is quite minor). I don't have it available in the wizard because of issues with spectron. Feel free to use it in you apps (as long as you aren't using spectron).
Thanks
How do you enable Electron v7? Is it just a matter of installing with v6 then changing the electron entry in package.json and running npm install?
Yep, as long as you don't use spectron that works fine.
is spectron mean vue-cli-service electron:serve ?
No, spectron is a e2e testing framework for electron.
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
https://github.com/electron/electron/issues/20994#issuecomment-566884880
@nklayman please keep in mind Electron 7.x no longer uses the electron.asar file. Perhaps some changes will need to be made in vue-cli-plugin-electron-builder to adapt to that change.
Also, do you have a specific date in mind for the release that supports Electron 7.x (which is gonna be 2.0.0 I assume) or at least an approximate date?
@nklayman please keep in mind Electron 7.x no longer uses the
electron.asarfile. Perhaps some changes will need to be made invue-cli-plugin-electron-builderto adapt to that change.Also, do you have a specific date in mind for the release that supports Electron 7.x (which is gonna be
2.0.0I assume) or at least an approximate date?
i fix it use yarn upgrade
v2.0.0 beta supports electron 7.
Most helpful comment
v2.0.0 beta supports electron 7.