Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Jul 22, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jul 22, 2023

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

@digimezzo digimezzo added the bug Something isn't working label Aug 6, 2023
@digimezzo digimezzo added this to the Dopamine 3.0 Preview 20 milestone Aug 6, 2023
@digimezzo
Copy link
Owner

digimezzo commented Aug 9, 2023

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: WiseLibs/better-sqlite3#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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant