Mac x64版本中 better-sqlite3 依赖被错误打包成了 arm64 架构,导致 Intel Mac 界面黑屏
admin@192 Application Support % /Applications/Anything\ Analyzer.app/Contents/MacOS/Anything\ Analyzer --disable-gpu [Main] Unhandled rejection: Error: dlopen(/Applications/Anything Analyzer.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node, 0x0001): tried: '/Applications/Anything Analyzer.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Anything Analyzer.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (no such file), '/Applications/Anything Analyzer.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')) at process.func [as dlopen] (node:electron/js2c/node_init:2:2569) at Module._extensions..node (node:internal/modules/cjs/loader:1930:18) at Object.func [as .node] (node:electron/js2c/node_init:2:2796) at Module.load (node:internal/modules/cjs/loader:1472:32) at Module._load (node:internal/modules/cjs/loader:1289:12) at c._load (node:electron/js2c/node_init:2:17950) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:242:24) at Module.require (node:internal/modules/cjs/loader:1494:12) at require (node:internal/modules/helpers:135:16) { code: 'ERR_DLOPEN_FAILED' }
今日更新的版本应该解决了这个问题,试试吧