-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: State Management, Tech debt
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
Not Needed
Reported OS: windows
Slack thread:
https://mongodb.slack.com/archives/C0U7K0MC3/p1644418694099459
Looks like what's probably happening is that in the 1.20 migration step the `storage mixin` is using the `localforage` package which throws an uncaught exception. We might be able to fix what causes localforage to throw the `No available storage method found` expection or just catch the exception so Compass is still usable without performing a full migration.
https://github.com/localForage/localForage/blob/master/src/localforage.js#L336
https://github.com/mongodb-js/compass/blob/main/packages/storage-mixin/lib/backends/local.js#L28
https://github.com/mongodb-js/compass/blob/main/packages/compass/src/app/migrations/1.20.0-beta.0.js
Debug screenshots attached