Windows repair note

Fix: node-gyp cannot find Visual Studio on Windows

Native Node and Electron modules may need C++ build tools. First confirm the exact failing package, then check whether Visual Studio Build Tools and Windows SDK are detected.

node-gyp error Could not find any Visual Studio installation to use
1

Identify the failing native package

Do not install build tools blindly. First find which dependency is trying to compile.

npm install
npm rebuild
npm ls better-sqlite3
2

Check Visual Studio detection

If vswhere exists, it can show whether C++ tools are installed and visible.

& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath
3

Prefer prebuilt binaries when possible

If your Node/Electron version has no prebuilt binary for the native package, either install build tools or use a supported version combination.

node -v
npm -v
npm config get msvs_version

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.

Visual Studio Build ToolsWindows SDKElectron native modules

Get the recovery kit for 13 USD

Independent practical material. Not an official OpenAI, Codex, Electron, Node.js, or OpenWhispr product.