electron-store icon indicating copy to clipboard operation
electron-store copied to clipboard

Cannot read properties of undefined (reading 'app') at new ElectronStore

Open CooperJiang opened this issue 2 years ago • 4 comments

when electron on 17.1version use will throw error Cannot read properties of undefined (reading 'app') at new ElectronStore

CooperJiang avatar Apr 15 '22 06:04 CooperJiang

image

CooperJiang avatar Apr 15 '22 06:04 CooperJiang

Sounds like a Webpack or other build tool configuration problem.

sindresorhus avatar Apr 15 '22 08:04 sindresorhus

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?

CooperJiang avatar Apr 15 '22 09:04 CooperJiang

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

peterjaap avatar Nov 19 '22 10:11 peterjaap