Windows repair note
Fix: better-sqlite3 in Electron on Windows
better-sqlite3 often works through prebuilt binaries, but Electron and Windows can force a native rebuild. Check the exact version and rebuild path before reinstalling everything.
better-sqlite3 Electron Windows node-gyp rebuildConfirm the package and Electron version
The fastest fix depends on the version combination. Start by reading what is actually installed.
npm ls better-sqlite3
npm ls electron
node -v
npm -v
Try a focused rebuild
If the package exists but Electron cannot load it, rebuild native modules for the current environment.
npm rebuild better-sqlite3
npm run dev
Check build tools only if rebuild compiles
If npm falls back to node-gyp, then Visual Studio Build Tools and Windows SDK become relevant.
npm config get msvs_version
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -property installationPath
When to use the paid kit
If the quick checks do not get the app running, the full WiaiKit recovery kit gives the ordered Windows path for npm, Electron, native modules, Visual Studio Build Tools, and Push-to-Talk setup.
Get the recovery kit for 13 USD
Independent practical material. Not an official OpenAI, Codex, Electron, Node.js, or OpenWhispr product.