yan-foto/electron-reload

Error occurs with latest electron: Cannot read properties of undefined (reading 'app')

drkNsubuga opened this issue · 0 comments

NOTE: before openning an issue, please consult previous issues (both open and closed).

What is the problem

Error log shown

    at Object.<anonymous> (***\node_modules\electron-reload\main.js:1:43)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Function.Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)

Environment

  • electron-reload: v2.0.0-alpha.1
  • electron v21.3.0
  • node v18.12.1
  • npm v9.1.2
  • windows 10