npm run serve в этот момент выдаёт ошибку: fs.existsSync не является функцией, npm run electron:serve ошибки не выдаёт.
Информация об ошибке:
Uncaught TypeError: fs.existsSync is not a function
at getElectronPath (webpack-internal:///./node_modules/electron/index.js:7)
at Object.eval (webpack-internal:///./node_modules/electron/index.js:18)
at eval (webpack-internal:///./node_modules/electron/index.js:20)
at Object../node_modules/electron/index.js (chunk-vendors.js:8046)
at webpack_require (app.js:854)
at fn (app.js:151)
at eval (webpack-internal:///./src/platform/electron/SystemTrayBlinkDetection.ts:4)
at Module../src/platform/electron/SystemTrayBlinkDetection.ts (app.js:6777)
at webpack_require (app.js:854)
at fn (app.js:151)