electron main process can not start again.
See original GitHub issueDescribe the bug Previously the electron mode works fine, but yesterday when I kill the main process from window’s task manager, it just cann’t start anymore, and aways stoping at here:
• Compiling: ├── Renderer process ████████████████████ 100% done in 3695 ms └── Main process █ 0%
when I modify code of renderer process, it recompiles renderer process and stop at there again. when I modify code of main process or quasar.conf.js , nothing happens, it don’t recompile the main process as expected.
solutions I have tried:
- I shut down my computer and restart it after a while, then I start up vscode and
quasar dev -m electron
, nothing changed. - I upgrade my Electron dependency from 10.0.1 to 11.0.3, nothing changed.
- I delete node_modules and execute
yarn install
,quasar dev -m electron
, nothing changed. - I removed .quasar folder and run
quasar dev -m electron
, nothing changed. - I git clone the code into another directory and
yarn install
,quasar dev -m electron
, nothing changed.
I have struggled on this issue for more then ten hours and still have no progress, I don’t know where is the problem. Can anybody help me, please.
Platform (please complete the following information): OS: Win10 Node: 12.16.1 NPM: 6.13.4 Yarn: 1.22.4 Electron: 10, 11 vscode: 1.51.1 x64
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
@faxinwang Having Github highlight code made finding the issue pretty easy (when the highlighting seemed to get broken).
It’s this line of code:
You are using null conditional operator (
?.
), but that’s not supported yet in the upstream processors we are using. Adjust your code accordingly and probably best to stick with ES2016 for now.Closing as this is a non-issue until upstream processors, that we consume, offer this functionality.
@hawkeye64 Thank you again, it works now.