Windows repair note

Fix: Electron failed to install correctly on Windows

This error usually means the Electron package exists, but the downloaded Electron binary or install marker is missing. Start with the checks below before deleting the whole project.

Electron failed to install correctly, please delete node_modules/electron and try installing again
1

Confirm you are in the project folder

Run this where package.json exists, not from your user profile or Windows system folder.

Get-Location
Test-Path .\package.json
Test-Path .\node_modules\electron
2

Check whether electron.exe exists

If the package folder exists but the binary is missing, the Electron install hook or binary download likely failed.

Test-Path .\node_modules\electron\dist\electron.exe
node .\node_modules\electron\install.js
3

Reinstall only after confirming the symptom

Avoid wiping the whole project first. The fastest path is usually targeted Electron cleanup, then npm install again.

npm install
npm run dev

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.

npm not recognizednode-gyp build toolsnative modules

Get the recovery kit for 13 USD

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