electron-store
electron-store copied to clipboard
Cannot read properties of undefined (reading 'app') at new ElectronStore
when electron on 17.1version use will throw error Cannot read properties of undefined (reading 'app') at new ElectronStore
Sounds like a Webpack or other build tool configuration problem.
In the new version of electron, because remote removes vux electron, it depends on remote. Is this why the new version cannot use vux electron?
Ran into the exact same error after upgrading from Electron 9 to 21.3 on Node 14.
Fixed it by running yarn add electron-store@latest