bambanah / deemix

GNU General Public License v3.0
97 stars 7 forks source link

GUI: Cannot find package 'better-sqlite3' #123

Closed Pull-3D closed 1 month ago

Pull-3D commented 1 month ago

When I open Deemix.app I got this error on macos Sequoia Apple M2. I run xattr -d com.apple.quarantine /Applications/deemix.app

A JavaScript error occurred in the main process Uncaught Exception: Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'better-sqlite3' imported from /Applications/Deemix.app/Contents/Resources/app.asar/dist/main.js at packageResolve (node:internal/modules/esm/resolve:861:9) at moduleResolve (node:internal/modules/esm/resolve:934:18) at defaultResolve (node:internal/modules/esm/resolve:1176:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38) at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39) at link (node:internal/modules/esm/module_job:86:36)

wtr0ll1337 commented 1 month ago

I have the same issue but on MacOS 14.7. I also tried Win11 and got the same error.

egctcg commented 1 month ago

I am also getting a better-sqlite error, even with the new 0.3.0 release error

wtr0ll1337 commented 1 month ago

I can confirm: the new release does not fix the issue.

screenshot
shme14 commented 1 month ago

Same here with 0.3.1

bambanah commented 1 month ago

Give that a go now. I've just disabled the API caching temporarily until I can find a solution that works for the GUI. It seems to be working for me now, but for some reason 0.3.1 also worked on my machine 🤷

shme14 commented 1 month ago

0.3.2 seems to have fixed it!