如何调试js与go呢?
CallMeBatMan opened this issue · 0 comments
2021/03/04 21:34:33 Running app built at
2021/03/04 21:34:33 astikit: starting worker...
2021/03/04 21:34:33 Skipping restoring resources...
2021/03/04 21:34:33 Starting...
2021/03/04 21:34:33 Provisioning...
2021/03/04 21:34:33 Astilectron has already been provisioned to version 0.44.0, moving on...
2021/03/04 21:34:33 Electron has already been provisioned to version 11.1.0, moving on...
2021/03/04 21:34:33 Listening...
2021/03/04 21:34:33 Executing...
2021/03/04 21:34:33 Starting cmd C:\Users\Administrator\AppData\Roaming\vendor\electron-windows-amd64\electron.exe C:\Users\Administrator\AppData\Roaming\vendor\astilectron\main.js 127.0.0.1:53138 true
2021/03/04 21:34:33 Stderr says: C:\Users\Administrator\AppData\Roaming\vendor\astilectron\main.js:15
2021/03/04 21:34:33 Stderr says: const singlesInstanceLock = app.requestSingleInstanceLock();
2021/03/04 21:34:33 Stderr says: ^
2021/03/04 21:34:33 Stderr says:
2021/03/04 21:34:33 Stderr says: TypeError: Cannot read property 'requestSingleInstanceLock' of undefined
2021/03/04 21:34:33 Stderr says: at Object. (C:\Users\Administrator\AppData\Roaming\vendor\astilectron\main.js:15:35)
2021/03/04 21:34:33 Stderr says: at Module._compile (internal/modules/cjs/loader.js:1152:30)
2021/03/04 21:34:33 Stderr says: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
2021/03/04 21:34:33 Stderr says: at Module.load (internal/modules/cjs/loader.js:992:32)
2021/03/04 21:34:33 Stderr says: at Module._load (internal/modules/cjs/loader.js:885:14)
2021/03/04 21:34:33 Stderr says: at Function.f._load (electron/js2c/asar_bundle.js:5:12710)
2021/03/04 21:34:33 Stderr says: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
2021/03/04 21:34:33 Stderr says: at internal/main/run_main_module.js:17:47
2021/03/04 21:34:33 'C:\Users\Administrator\AppData\Roaming\vendor\electron-windows-amd64\electron.exe' exited with code: 1
2021/03/04 21:34:33 App has crashed
2021/03/04 21:34:33 Stopping...
2021/03/04 21:34:33 astikit: stopping worker...
2021/03/04 21:34:33 Closing...
2021/03/04 21:34:33 running bootstrap failed: creating window failed: context canceled