sindresorhus / electron-store

Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc
MIT License
4.62k stars 151 forks source link

Migration throws #168

Open iamisti opened 3 years ago

iamisti commented 3 years ago

We have an error that says: "Uncaught exception: TypeError Invalid Version >=0.24.2" I suppose this is happening during migration, and I didn't find any way to catch it. Can someone tell me why this error is happening and how to stop it? IT crashes the whole app...

Using electron-store v5.2.0

Thank you!

sindresorhus commented 3 years ago

Can you provide the full stacktrace?

Make sure you're on the latest electron-store version. Older versions had some bugs in the migration feature.

iamisti commented 3 years ago

Unfortunately that's all I have. It was reported by one of our users and have no more information about it. (dont have trackjs or anything like that yet). But appreciate the repsonse! Will try to upgrade it to the newest version.