Electron not working



  • I tried to add electron mode to my app, and when running quasar dev -m electron I immediately get this error:
    1e4e3692-5e31-4805-bfc3-52b2711350b9-bildo.png

    Console:

    App threw an error during load
    SyntaxError: Invalid left-hand side in assignment
        at Object../node_modules/debug/src/node.js (C:\Users\User\Downloads\covid_game\.quasar\electron\electron-main.js:601:1)
        at __webpack_require__ (C:\Users\User\Downloads\covid_game\.quasar\electron\electron-main.js:21:30)
        at eval (webpack:///./node_modules/debug/src/index.js?:9:19)
        at Object../node_modules/debug/src/index.js (C:\Users\User\Downloads\covid_game\.quasar\electron\electron-main.js:590:1)
        at __webpack_require__ (C:\Users\User\Downloads\covid_game\.quasar\electron\electron-main.js:21:30)
        at eval (webpack:///./node_modules/electron-localshortcut/index.js?:6:16)
        at Object../node_modules/electron-localshortcut/index.js (C:\Users\User\Downloads\covid_game\.quasar\electron\electron-main.js:696:1)
        at __webpack_require__ (C:\Users\User\Downloads\covid_game\.quasar\electron\electron-main.js:21:30)
        at eval (webpack:///./node_modules/electron-debug/index.js?:3:23)
        at Object../node_modules/electron-debug/index.js (C:\Users\User\Downloads\covid_game\.quasar\electron\electron-main.js:624:1)
    

    This is the first time I’m adding electron. Any idea what is wrong?



  • Funny thing is, quasar build -m electron --publish works perfectly.


Log in to reply