nklayman / vue-cli-plugin-electron-builder

Easily Build Your Vue.js App For Desktop With Electron
https://nklayman.github.io/vue-cli-plugin-electron-builder/
MIT License
4.12k stars 279 forks source link

electron-builder build and install, run with error Cannot read property '_android' of undefined #1990

Open wuhaodes opened 8 months ago

wuhaodes commented 8 months ago

"vue-cli-plugin-electron-builder": "~2.1.1", "electron": "^13.0.0", "electron-devtools-installer": "^3.1.0", "vue": "2.6.12", node -v // v16.18.0 Target: win32

a old vue management item, use vue add electron-builder and select electron@13.0, when add finished, run electron:serve, it's run very well; and run electron:build, the exe file has been output; but when install this file, and run, it's export the error [Cannot read property '_android' of undefined] ![Uploading image.png…]()

wuhaodes commented 8 months ago

image

wuhaodes commented 8 months ago

image I find this error was poped by qrcodejs2, I will try to remove it

wuhaodes commented 8 months ago

when I removed qrcodejs2, it's worked