Error #345
Replies: 7 comments 64 replies
-
It is failing on the line const isDbCreated Without ANY code change, if I clear the chrome storage on phone, it starts to work again. This error is random, and only every once in awhile after lots of usage. |
Beta Was this translation helpful? Give feedback.
-
Keep in mind, the oddity is that with this... It works 100% fine, then after awhile it starts to fail and gives the error up there on this line with 0 code changing... Then if I clear all chrome data, it works again |
Beta Was this translation helpful? Give feedback.
-
This is the code where error is occuring. but it's not possible as there is already a null check when this class is initiated . I will keep my eye on it, but if you find something let me know. |
Beta Was this translation helpful? Give feedback.
-
It seems like its the connection var getting stuck. How often do connections expire? Do you recommend me wrapping the DB Initialization in a try catch and if it hits the catch, destroy the connection and recreate it? I am declaring the connection in a .js file that is used by multiple HTML pages. |
Beta Was this translation helpful? Give feedback.
-
Since its the connection itself seemingly getting stuck I can't even enable log status |
Beta Was this translation helpful? Give feedback.
-
Hey I have been using the indexeddb.deletedatabase() call on the catch to rebuild teh database when this happens and its been working okay for me, just wanted to check if you have seen any root cause for why the JSMeta is getting deleted and messing up the local database? |
Beta Was this translation helpful? Give feedback.
-
I am getting the following error... It ONLY happens after device has been used for a long time. If I refresh chrome cache, it works fine again
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'name') at nt (jsstore.worker.min.js:2:64964) at jsstore.worker.min.js:2:69300
Again, if I refresh chrome and delete all data, it works again.
It appears that it has an issue with the dbName... AKA the name of the database. Any advice?
Beta Was this translation helpful? Give feedback.
All reactions