Windows repair note
Fix: npm is not recognized in PowerShell
This is a Runtime / PATH failure. Fix it before running npm install, Electron rebuilds, node-gyp, or project cleanup commands, because every later error can be noise while PowerShell cannot find npm.
npm : The term 'npm' is not recognized as the name of a cmdletOpen a fresh terminal first
After installing Node.js, old PowerShell and VS Code terminals may not load the updated PATH. Restart the terminal before changing anything else.
node -v
npm -vCheck PowerShell command resolution
Use Get-Command and where.exe. In PowerShell, bare where can be interpreted as an alias instead of Windows executable lookup.
Get-Command node -ErrorAction SilentlyContinue
Get-Command npm -ErrorAction SilentlyContinue
Get-Command npm.cmd -ErrorAction SilentlyContinue
where.exe node
where.exe npmCheck npm.cmd if npm fails
If node works but npm does not, verify whether npm.cmd exists in the Node.js install directory.
npm.cmd -v
Test-Path "C:\Program Files\nodejs\node.exe"
Test-Path "C:\Program Files\nodejs\npm.cmd"
$env:Path -split ';' | Select-String -SimpleMatch 'nodejs'Only then run project commands
Once npm is visible, move to the project folder and check package.json before installing dependencies.
cd C:\path\to\your\project
Test-Path .\package.json
npm install
npm run devWhen 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.