Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
longyanjiang opened this issue Apr 15, 2022 · 4 comments

Comments

@longyanjiang
Copy link

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

@longyanjiang
Copy link
Author

image

@sindresorhus
Copy link
Owner

Sounds like a Webpack or other build tool configuration problem.

@longyanjiang
Copy link
Author

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?

@peterjaap
Copy link

peterjaap commented Nov 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants