electron-builder's @electron/rebuild compiles better-sqlite3 for Electron's Node ABI. The standalone server must use Electron's built-in Node (ELECTRON_RUN_AS_NODE=1) to match, otherwise the native module fails with NODE_MODULE_VERSION mismatch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>