You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my code : import localforage from "localforage"; export const db_upload = localforage.createInstance({ name: "test", storeName: "upload" });
error: TypeError: Cannot read properties of null (reading 'db') at _tryReconnect (localforage.js:770:1) at localforage.js:819:1
The localforage did not initialize successfully, causing instance creation to fail. How can we ensure that the localforage is initialized successfully before creating an instance.
The text was updated successfully, but these errors were encountered:
my code :
import localforage from "localforage"; export const db_upload = localforage.createInstance({ name: "test", storeName: "upload" });
error:
TypeError: Cannot read properties of null (reading 'db') at _tryReconnect (localforage.js:770:1) at localforage.js:819:1
The localforage did not initialize successfully, causing instance creation to fail. How can we ensure that the localforage is initialized successfully before creating an instance.
The text was updated successfully, but these errors were encountered: