unfoldingWord / tc-create-app

translationCore Create
https://create.translationcore.com/
MIT License
0 stars 5 forks source link

No available storage method found #1462

Open superdav42 opened 1 year ago

superdav42 commented 1 year ago

The app can fail to load with a white screen and the error No available storage method found in the console. The easiest way to reproduce is to load the app in Firefox private browsing mode, some extensions or browser settings can also make it happen. I believe it is because the localforage lib cannot write to local storage so it throws an error. We should be able to catch this exception and fallback to something else if local storage is not available so that it can at least load.

image