0

Hi everyone i have made a vuejs2 application with vuetify. I decided later to add electron to package it. here is my file tree enter image description here

when i run npm run npm run electron:build shortcut for my package script command: "electron:build": "vue-cli-service electron:build"

everything works well and i get my dist-electron folder. Now i want to package it as exe file for windows i followed some tutorial and installed

npm install --save-dev electron-packager

the standard command should be

npx electron-packager . Platform Data Manager --platform=win32 --arch=x64

after some npm trace log i receive following error

Packaging app for platform win32 x64 using electron v13.6.9
The main entry point to your app was not found. Make sure "background.js" exists and does not get ignored by your ignore option

from here i'm stuck and have absoluterly no idea on how to fix the issue.

floprm
  • 72
  • 2
  • 11

0 Answers0