dopamine icon indicating copy to clipboard operation
dopamine copied to clipboard

[bug]white screen after adding and refreshing a folder to the collection

Open ghost opened this issue 2 years ago • 2 comments

I installed dopamine 3 in my arch linux, when i try to add a folder to the collection I get a white screen after refreshing

ghost avatar Jul 22 '23 19:07 ghost

The issue was narrowed down to better-sqlite3 in combination with Electron 22 (Electron 21 and below work correctly). It is most likely caused by this issue: https://github.com/WiseLibs/better-sqlite3/issues/988

Short term solution: revert to Electron 21 Long term solution: use another, preferably Javascript (so no compilation is needed) library like https://rxdb.info/electron-database.html or https://dexie.org/. Note: this will break compatibility with Dopamine 2.

Some advise about local databases on Reddit :https://www.reddit.com/r/electronjs/comments/lei8b1/electron_local_database/

Another option: https://jsstore.net/

digimezzo avatar Aug 09 '23 21:08 digimezzo

Could this be an option? https://github.com/ironboy/best-sqlite3

digimezzo avatar Jul 30 '24 16:07 digimezzo