<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tony Stark</title>
    <description>The latest articles on DEV Community by Tony Stark (@qoxuty).</description>
    <link>https://dev.to/qoxuty</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3998133%2Fec25e055-9437-489d-81e4-e51d6221fe4d.png</url>
      <title>DEV Community: Tony Stark</title>
      <link>https://dev.to/qoxuty</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/qoxuty"/>
    <language>en</language>
    <item>
      <title>Fix npm is not recognized in PowerShell on Windows</title>
      <dc:creator>Tony Stark</dc:creator>
      <pubDate>Wed, 24 Jun 2026 13:35:01 +0000</pubDate>
      <link>https://dev.to/qoxuty/fix-npm-is-not-recognized-in-powershell-on-windows-pgb</link>
      <guid>https://dev.to/qoxuty/fix-npm-is-not-recognized-in-powershell-on-windows-pgb</guid>
      <description>&lt;p&gt;If PowerShell shows this after you installed Node.js:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;do not start by reinstalling your project.&lt;/p&gt;

&lt;p&gt;This is usually a Runtime / PATH problem. Until Windows can find &lt;code&gt;npm&lt;/code&gt;, later errors from Electron, &lt;code&gt;node-gyp&lt;/code&gt;, &lt;code&gt;better-sqlite3&lt;/code&gt;, or a voice coding app are just noise.&lt;/p&gt;

&lt;p&gt;Here is the order I would use.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Open a fresh PowerShell window
&lt;/h2&gt;

&lt;p&gt;If Node.js was installed while PowerShell or VS Code was already open, the old terminal may not see the updated PATH.&lt;/p&gt;

&lt;p&gt;Close PowerShell. If you are using VS Code, close and reopen VS Code too.&lt;/p&gt;

&lt;p&gt;Then run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If both work, you do not need to repair anything else at this layer.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Check command resolution the PowerShell way
&lt;/h2&gt;

&lt;p&gt;Use &lt;code&gt;Get-Command&lt;/code&gt; first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Get-Command&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ErrorAction&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;SilentlyContinue&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Get-Command&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ErrorAction&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;SilentlyContinue&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Get-Command&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm.cmd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ErrorAction&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;SilentlyContinue&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then use &lt;code&gt;where.exe&lt;/code&gt;, not bare &lt;code&gt;where&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;where.exe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;where.exe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In PowerShell, &lt;code&gt;where&lt;/code&gt; can be interpreted as an alias for &lt;code&gt;Where-Object&lt;/code&gt;. &lt;code&gt;where.exe&lt;/code&gt; asks Windows directly where the executable is.&lt;/p&gt;

&lt;p&gt;Common mistake:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Better:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;where.exe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That small &lt;code&gt;.exe&lt;/code&gt; matters when you are debugging Windows command resolution from PowerShell or a VS Code terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. If node works but npm does not
&lt;/h2&gt;

&lt;p&gt;Try:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;npm.cmd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Get-Command&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm.cmd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ErrorAction&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;SilentlyContinue&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If &lt;code&gt;npm.cmd&lt;/code&gt; works but &lt;code&gt;npm&lt;/code&gt; does not, the Node install may be present but command resolution or PATH order is wrong.&lt;/p&gt;

&lt;p&gt;Common expected locations look like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Program Files\nodejs\node.exe
C:\Program Files\nodejs\npm.cmd
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Do not paste random PATH edits yet. First confirm whether those files exist:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"C:\Program Files\nodejs\node.exe"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"C:\Program Files\nodejs\npm.cmd"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  4. Check PATH only after the files exist
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$&lt;/span&gt;&lt;span class="nn"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-split&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;';'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Select-String&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-SimpleMatch&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'nodejs'&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If &lt;code&gt;C:\Program Files\nodejs&lt;/code&gt; is missing from PATH, repair the Node.js installation or add the path through Windows Environment Variables.&lt;/p&gt;

&lt;p&gt;After changing PATH, open a new PowerShell window and retest:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;where.exe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;where.exe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  5. Only then run project commands
&lt;/h2&gt;

&lt;p&gt;When Runtime is fixed, go back to the project folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;C:\path\to\your\project&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\package.json&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;run&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;dev&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If &lt;code&gt;package.json&lt;/code&gt; is missing, you are in the wrong folder.&lt;/p&gt;

&lt;p&gt;If Electron or native modules fail after this, that is a different layer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free diagnostic
&lt;/h2&gt;

&lt;p&gt;I maintain a read-only Windows diagnostic for this exact class of setup failure:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pay.wiaikit.com/free?lang=en&amp;amp;from=devto-npm-path" rel="noopener noreferrer"&gt;Run the free Windows AI coding setup diagnostic&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It checks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Runtime: Node.js, npm, PATH&lt;/li&gt;
&lt;li&gt;Project folder and &lt;code&gt;package.json&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Electron install state&lt;/li&gt;
&lt;li&gt;Native modules such as &lt;code&gt;better-sqlite3&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Visual Studio Build Tools detection&lt;/li&gt;
&lt;li&gt;Voice coding stack indicators&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub repo:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/wiaikit/wiaikit-windows-ai-coding-setup-repair" rel="noopener noreferrer"&gt;WiaiKit Windows AI Coding Setup Repair&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The script is read-only. It does not install, delete, or modify files.&lt;/p&gt;

&lt;h2&gt;
  
  
  Recovery order
&lt;/h2&gt;

&lt;p&gt;For &lt;code&gt;npm is not recognized&lt;/code&gt; in PowerShell, use this order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open a fresh PowerShell or VS Code terminal.&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;node -v&lt;/code&gt; and &lt;code&gt;npm -v&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;Get-Command node&lt;/code&gt;, &lt;code&gt;Get-Command npm&lt;/code&gt;, and &lt;code&gt;Get-Command npm.cmd&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;where.exe node&lt;/code&gt; and &lt;code&gt;where.exe npm&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Confirm &lt;code&gt;C:\Program Files\nodejs\npm.cmd&lt;/code&gt; exists.&lt;/li&gt;
&lt;li&gt;Repair Node.js PATH if needed.&lt;/li&gt;
&lt;li&gt;Only then run &lt;code&gt;npm install&lt;/code&gt; inside the project.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Related free page:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pay.wiaikit.com/fix/npm-not-recognized-powershell" rel="noopener noreferrer"&gt;Fix npm is not recognized in PowerShell on Windows&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The paid WiaiKit repair kit is the longer recovery path after the diagnostic tells you which layer is broken: npm PATH, Electron, node-gyp, Visual Studio Build Tools, native modules, OpenWhispr, Codex, Claude Code, and push-to-talk voice workflows.&lt;/p&gt;

</description>
      <category>node</category>
      <category>npm</category>
      <category>windows</category>
      <category>powershell</category>
    </item>
    <item>
      <title>Fix node-gyp Visual Studio Build Tools errors on Windows</title>
      <dc:creator>Tony Stark</dc:creator>
      <pubDate>Wed, 24 Jun 2026 07:01:21 +0000</pubDate>
      <link>https://dev.to/qoxuty/fix-node-gyp-visual-studio-build-tools-errors-on-windows-41h7</link>
      <guid>https://dev.to/qoxuty/fix-node-gyp-visual-studio-build-tools-errors-on-windows-41h7</guid>
      <description>&lt;p&gt;If you see this on Windows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;node-gyp error Could not find any Visual Studio installation to use
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;do not start by reinstalling everything.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;node-gyp&lt;/code&gt; usually appears after a package falls back to local native compilation. The useful question is not "how do I reinstall Node?" It is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Which layer is broken: npm, the project folder, Electron, a native module, or Visual Studio Build Tools?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Here is the order I use.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Confirm Node and npm first
&lt;/h2&gt;

&lt;p&gt;Run this in a fresh PowerShell window:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If &lt;code&gt;npm&lt;/code&gt; is not recognized, fix that before touching Build Tools. A broken PATH can make every later error misleading.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Confirm you are in the project root
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Get-Location&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="nx"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\package.json&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If &lt;code&gt;package.json&lt;/code&gt; is missing, you are in the wrong folder.&lt;/p&gt;

&lt;p&gt;If &lt;code&gt;node_modules&lt;/code&gt; is missing, run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then read the first real error. Do not jump straight to Visual Studio.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Identify the package that is compiling
&lt;/h2&gt;

&lt;p&gt;Run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;rebuild&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;ls&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;node-gyp&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;ls&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;better-sqlite3&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Look in the log for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;node-gyp&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;prebuild-install&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;MSBuild&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cl.exe&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Windows SDK&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;VCBuild&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the package is &lt;code&gt;better-sqlite3&lt;/code&gt;, &lt;code&gt;windows-key-listener&lt;/code&gt;, or another native module, the fix depends on the Node/Electron version combination. It may need a compatible prebuilt binary or an Electron-compatible rebuild, not just Visual Studio.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Check whether Visual Studio C++ tools are detected
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;${env:ProgramFiles(x86)}&lt;/span&gt;&lt;span class="s2"&gt;\Microsoft Visual Studio\Installer\vswhere.exe"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-latest&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-products&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-requires&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Microsoft.VisualStudio.Component.VC.Tools.x86.x64&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-property&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;installationPath&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If this prints a path, C++ tools are visible.&lt;/p&gt;

&lt;p&gt;If it prints nothing, Visual Studio Build Tools may be missing the C++ workload.&lt;/p&gt;

&lt;p&gt;Check npm's Visual Studio setting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;get&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;msvs_version&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;get&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;python&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A stale &lt;code&gt;msvs_version&lt;/code&gt; can point npm/node-gyp at an older toolchain.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Install or repair Build Tools only if the log requires it
&lt;/h2&gt;

&lt;p&gt;In Visual Studio Installer, the usual workload is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Desktop development with C++&lt;/li&gt;
&lt;li&gt;MSVC C++ x64/x86 build tools&lt;/li&gt;
&lt;li&gt;Windows 10 or Windows 11 SDK&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After installing or repairing it, open a new PowerShell window and rerun:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;${env:ProgramFiles(x86)}&lt;/span&gt;&lt;span class="s2"&gt;\Microsoft Visual Studio\Installer\vswhere.exe"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-latest&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-products&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-requires&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Microsoft.VisualStudio.Component.VC.Tools.x86.x64&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-property&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;installationPath&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;rebuild&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;run&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;dev&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If it still fails, stop reinstalling Visual Studio and go back to the exact package that is compiling.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free diagnostic
&lt;/h2&gt;

&lt;p&gt;I made a read-only Windows diagnostic for this kind of setup failure:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pay.wiaikit.com/free?lang=en&amp;amp;from=devto-node-gyp" rel="noopener noreferrer"&gt;Run the free Windows AI coding setup diagnostic&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It checks the layers in order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Runtime: Node.js, npm, PATH&lt;/li&gt;
&lt;li&gt;Project: folder, &lt;code&gt;package.json&lt;/code&gt;, &lt;code&gt;node_modules&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Electron: install hook and binary&lt;/li&gt;
&lt;li&gt;Native modules: &lt;code&gt;better-sqlite3&lt;/code&gt;, key listeners, &lt;code&gt;node-gyp&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Build Tools: Visual Studio C++ toolchain&lt;/li&gt;
&lt;li&gt;Voice coding stack: Windows audio, WSL, Codex, Claude Code, OpenWhispr&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The script is read-only. It does not install, delete, or modify files.&lt;/p&gt;

&lt;p&gt;GitHub repo:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/wiaikit/wiaikit-windows-ai-coding-setup-repair" rel="noopener noreferrer"&gt;https://github.com/wiaikit/wiaikit-windows-ai-coding-setup-repair&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Paid recovery path
&lt;/h2&gt;

&lt;p&gt;The paid WiaiKit repair kit is the longer layer-by-layer recovery path after the diagnostic tells you what is broken: npm PATH, Electron, node-gyp, Visual Studio Build Tools, native modules, OpenWhispr, Codex, Claude Code, and push-to-talk voice workflows.&lt;/p&gt;

&lt;p&gt;For this specific &lt;code&gt;node-gyp&lt;/code&gt; error, start with the free diagnostic above.&lt;/p&gt;

</description>
      <category>debugging</category>
    </item>
    <item>
      <title>Fix Electron failed to install correctly on Windows</title>
      <dc:creator>Tony Stark</dc:creator>
      <pubDate>Tue, 23 Jun 2026 14:05:53 +0000</pubDate>
      <link>https://dev.to/qoxuty/fix-electron-failed-to-install-correctly-on-windows-314g</link>
      <guid>https://dev.to/qoxuty/fix-electron-failed-to-install-correctly-on-windows-314g</guid>
      <description>&lt;p&gt;If you are on Windows and an Electron app stops with this error:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Electron failed to install correctly, please delete node_modules/electron and try installing again
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;the important detail is usually this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;node_modules/electron&lt;/code&gt; can exist while the actual Electron binary is missing.&lt;/p&gt;

&lt;p&gt;So a blind &lt;code&gt;npm install&lt;/code&gt; retry is not always enough. First check whether the package folder exists and whether &lt;code&gt;electron.exe&lt;/code&gt; was actually downloaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fast path: check this before reinstalling everything
&lt;/h2&gt;

&lt;p&gt;In the project folder, run this first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\package.json&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules\electron&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules\electron\dist\electron.exe&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The key line is the third one.&lt;/p&gt;

&lt;p&gt;If &lt;code&gt;node_modules\electron&lt;/code&gt; is &lt;code&gt;True&lt;/code&gt; but &lt;code&gt;node_modules\electron\dist\electron.exe&lt;/code&gt; is &lt;code&gt;False&lt;/code&gt;, the package is present but the Electron binary is missing. In that case, start with the targeted Electron reinstall below before deleting the whole &lt;code&gt;node_modules&lt;/code&gt; folder.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Confirm you are in the project folder
&lt;/h2&gt;

&lt;p&gt;Open PowerShell in the project folder and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Get-Location&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="nx"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\package.json&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules\electron&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You want:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;True
True
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;for &lt;code&gt;package.json&lt;/code&gt; and &lt;code&gt;node_modules\electron&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;If &lt;code&gt;package.json&lt;/code&gt; is &lt;code&gt;False&lt;/code&gt;, you are in the wrong folder. Move to the app folder first.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Check the actual Electron binary
&lt;/h2&gt;

&lt;p&gt;Now check the binary:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules\electron\dist\electron.exe&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If this returns &lt;code&gt;False&lt;/code&gt;, Electron's package directory exists, but the install hook or binary download did not complete.&lt;/p&gt;

&lt;p&gt;That is the state that often triggers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Electron failed to install correctly
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Common reasons on Windows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the Electron postinstall step was interrupted;&lt;/li&gt;
&lt;li&gt;the Electron binary download was blocked by a network, antivirus, corporate proxy, or TLS inspection;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;npm install&lt;/code&gt; ran in an old terminal after Node.js or PATH changed;&lt;/li&gt;
&lt;li&gt;the app also has native modules, so the Electron error is the first visible failure but not the only broken layer.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Try the targeted repair first
&lt;/h2&gt;

&lt;p&gt;Before deleting all &lt;code&gt;node_modules&lt;/code&gt;, try the smaller fix:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Remove-Item&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Recurse&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules\electron&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then check again:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Test-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules\electron\dist\electron.exe&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If it returns &lt;code&gt;True&lt;/code&gt;, retry your app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;run&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;dev&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  4. If Electron still does not install, check Node and npm
&lt;/h2&gt;

&lt;p&gt;Run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On Windows, a fresh Node.js install can update PATH, but the old PowerShell window may not see the change yet.&lt;/p&gt;

&lt;p&gt;If &lt;code&gt;node&lt;/code&gt; works but &lt;code&gt;npm&lt;/code&gt; does not, close PowerShell and open a new one before reinstalling anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. If native modules are involved, do not guess
&lt;/h2&gt;

&lt;p&gt;Electron apps often include native packages such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;better-sqlite3&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;node-gyp&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Windows key listeners&lt;/li&gt;
&lt;li&gt;SQLite bindings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those packages can require prebuilt binaries or local build tools.&lt;/p&gt;

&lt;p&gt;Check what is actually present:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;ls&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;better-sqlite3&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;ls&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;node-gyp&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the project needs a local build, Windows may need Visual Studio Build Tools. But do not install the whole toolchain blindly. First confirm the package that is failing and whether a prebuilt binary exists for your Node/Electron version.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Free layered diagnostic script
&lt;/h2&gt;

&lt;p&gt;I published a small read-only diagnostic script for this class of Windows setup problems:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/wiaikit/wiaikit-windows-ai-coding-setup-repair" rel="noopener noreferrer"&gt;GitHub: WiaiKit Windows AI Coding Setup Repair&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It now checks the setup by layer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Runtime: Node.js, npm, PATH&lt;/li&gt;
&lt;li&gt;Project: &lt;code&gt;package.json&lt;/code&gt;, &lt;code&gt;node_modules&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Electron: package folder, &lt;code&gt;electron.exe&lt;/code&gt;, install hook&lt;/li&gt;
&lt;li&gt;Native modules: &lt;code&gt;better-sqlite3&lt;/code&gt;, key listeners, &lt;code&gt;node-gyp&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Build Tools: Visual Studio C++ toolchain&lt;/li&gt;
&lt;li&gt;Voice stack: Windows audio, WSL, Codex, Claude Code indicators&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Run it from the project folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;powershell&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ExecutionPolicy&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Bypass&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-File&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\wiaikit-windows-ai-coding-setup-check.ps1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or pass the project path:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;powershell&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ExecutionPolicy&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Bypass&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-File&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\wiaikit-windows-ai-coding-setup-check.ps1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ProjectPath&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;C:\path\to\your\project&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The script does not install, delete, or modify files. It prints &lt;code&gt;OK&lt;/code&gt;, &lt;code&gt;CHECK&lt;/code&gt;, &lt;code&gt;BROKEN&lt;/code&gt;, and &lt;code&gt;NEXT ACTION&lt;/code&gt; lines so you can stop guessing which layer failed.&lt;/p&gt;

&lt;p&gt;Browser version:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pay.wiaikit.com/free?lang=en" rel="noopener noreferrer"&gt;Run the free Windows AI coding setup diagnostic&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  7. My usual recovery order
&lt;/h2&gt;

&lt;p&gt;For this specific error, I would use this order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Confirm the folder has &lt;code&gt;package.json&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Check &lt;code&gt;node_modules\electron&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Check &lt;code&gt;node_modules\electron\dist\electron.exe&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Delete only &lt;code&gt;node_modules\electron&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;npm install&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Only then consider a full &lt;code&gt;node_modules&lt;/code&gt; reinstall.&lt;/li&gt;
&lt;li&gt;If native modules fail, inspect &lt;code&gt;node-gyp&lt;/code&gt;, Visual Studio Build Tools, and the exact package.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This avoids the common Windows loop of reinstalling everything without knowing what actually broke.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related diagnostic page
&lt;/h2&gt;

&lt;p&gt;I also keep the same fix as a shorter checklist here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pay.wiaikit.com/fix/electron-failed-to-install-correctly" rel="noopener noreferrer"&gt;Fix Electron failed to install correctly on Windows&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The paid WiaiKit repair kit is the longer recovery path after the diagnostic tells you which layer is broken: npm PATH, Electron, node-gyp, Visual Studio Build Tools, native modules, OpenWhispr, Codex, Claude Code, and push-to-talk voice workflows.&lt;/p&gt;

&lt;p&gt;For this specific Electron error, start with the free diagnostic above.&lt;/p&gt;

</description>
      <category>electron</category>
      <category>windows</category>
      <category>npm</category>
      <category>debugging</category>
    </item>
    <item>
      <title>When Win+H Is Not Enough: Push-to-Talk Voice Tasks for Codex on Windows</title>
      <dc:creator>Tony Stark</dc:creator>
      <pubDate>Tue, 23 Jun 2026 07:28:16 +0000</pubDate>
      <link>https://dev.to/qoxuty/when-winh-is-not-enough-push-to-talk-voice-tasks-for-codex-on-windows-55f4</link>
      <guid>https://dev.to/qoxuty/when-winh-is-not-enough-push-to-talk-voice-tasks-for-codex-on-windows-55f4</guid>
      <description>&lt;p&gt;Win+H is fine for simple dictation. This setup is for people who want a repeatable Push-to-Talk workflow for sending spoken tasks into Codex on Windows.&lt;/p&gt;

&lt;p&gt;The idea is to use OpenWhispr as the voice input layer: you speak the task, OpenWhispr turns it into text, and that text becomes the prompt or instruction you use with Codex.&lt;/p&gt;

&lt;p&gt;The target workflow is simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Press a Push-to-Talk key.&lt;/li&gt;
&lt;li&gt;Dictate the task.&lt;/li&gt;
&lt;li&gt;Let OpenWhispr transcribe it locally or through the configured model.&lt;/li&gt;
&lt;li&gt;Paste or pass the text into Codex.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why not just use Win+H?
&lt;/h2&gt;

&lt;p&gt;For normal dictation, Windows voice typing is the easiest option. Press Win+H, speak into a text field, and Windows enters the text.&lt;/p&gt;

&lt;p&gt;This setup is for a different use case:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;you want Push-to-Talk behavior instead of a general dictation popup;&lt;/li&gt;
&lt;li&gt;you are building a repeatable voice loop specifically around Codex tasks;&lt;/li&gt;
&lt;li&gt;you want OpenWhispr in the workflow, not only the built-in Windows dictation layer;&lt;/li&gt;
&lt;li&gt;you are running into Windows setup errors around Node.js, npm, Electron, native modules, or key listeners;&lt;/li&gt;
&lt;li&gt;you want recovery commands when the local Electron/npm environment breaks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the point is not “better than Win+H for everyone.” The point is “more useful when you are trying to build a Codex voice workflow on Windows.”&lt;/p&gt;

&lt;p&gt;The difficult part is not the idea. The difficult part is getting the Windows setup into a clean state when Node.js, npm, Electron native modules, Visual Studio Build Tools, or key listeners fail.&lt;/p&gt;

&lt;p&gt;This is the troubleshooting order I would use before reinstalling everything blindly.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Check that Node.js and npm are actually available
&lt;/h2&gt;

&lt;p&gt;If PowerShell says:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;The&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;term&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'npm'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;is&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;not&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;recognized&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;as&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;cmdlet&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;function&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;script&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;file&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;or&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;operable&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;program.&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;First check:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;npm&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For current OpenWhispr-style Electron setups, use Node.js 24+ if the project requires it. If &lt;code&gt;node&lt;/code&gt; works but &lt;code&gt;npm&lt;/code&gt; does not, restart PowerShell after installing Node.js because PATH changes may not be loaded in the old terminal session.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Reinstall dependencies from a clean local state
&lt;/h2&gt;

&lt;p&gt;If the project has a broken &lt;code&gt;node_modules&lt;/code&gt; folder, do not keep retrying &lt;code&gt;npm run dev&lt;/code&gt; first. Clean the local install and reinstall.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Remove-Item&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Recurse&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Remove-Item&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\package-lock.json&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the project depends on native modules, watch the install output. Modules such as SQLite bindings or key listeners may need prebuilt binaries or local compilation.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Fix Electron install failures
&lt;/h2&gt;

&lt;p&gt;This error usually means the &lt;code&gt;electron&lt;/code&gt; package exists in &lt;code&gt;node_modules&lt;/code&gt;, but the Electron binary did not download or unpack correctly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Electron failed to install correctly, please delete node_modules/electron and try installing again
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Try a targeted reinstall first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Remove-Item&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Recurse&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules\electron&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;electron&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If that still fails, clean all dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Remove-Item&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Recurse&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\node_modules&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;cache&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;verify&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you are behind a VPN, corporate proxy, antivirus inspection, or unstable connection, Electron downloads can fail even when npm itself works.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Understand Visual Studio Build Tools
&lt;/h2&gt;

&lt;p&gt;Some npm packages include native code. On Windows, native modules may require C/C++ build tooling.&lt;/p&gt;

&lt;p&gt;The common choices are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Visual Studio Build Tools with C++ workload&lt;/li&gt;
&lt;li&gt;MinGW-w64 for some projects&lt;/li&gt;
&lt;li&gt;a prebuilt binary if the package publishes one for your Node/Electron version&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a package already has a compatible prebuilt binary, you may not need local compilation. If not, the install step can fail until build tools are installed.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Understand &lt;code&gt;windows-key-listener fallback mode&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;For Push-to-Talk, a Windows key listener may need native access to keyboard events.&lt;/p&gt;

&lt;p&gt;If you see:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[windows-key-listener] Push-to-Talk will use fallback mode
[windows-key-listener] To compile locally, install Visual Studio Build Tools or MinGW-w64
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It means the app can still run, but Push-to-Talk may use a less direct fallback mode unless the native listener is compiled or available.&lt;/p&gt;

&lt;p&gt;This does not always block the whole app. It usually affects the quality or reliability of hotkey handling.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Start the app after dependency recovery
&lt;/h2&gt;

&lt;p&gt;After dependency repair:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;run&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;dev&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the project downloads models or binaries during &lt;code&gt;npm run dev&lt;/code&gt;, let those scripts finish. A partially downloaded model or binary can create confusing follow-up errors.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Keep the goal clear
&lt;/h2&gt;

&lt;p&gt;The goal is not just “make npm install pass.”&lt;/p&gt;

&lt;p&gt;The actual goal is to get a usable voice-driven loop on Windows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;microphone input&lt;/li&gt;
&lt;li&gt;speech-to-text through OpenWhispr&lt;/li&gt;
&lt;li&gt;Push-to-Talk or a workable fallback&lt;/li&gt;
&lt;li&gt;clean text ready for Codex&lt;/li&gt;
&lt;li&gt;repeatable setup commands if Windows breaks the environment again&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Free diagnostic first
&lt;/h2&gt;

&lt;p&gt;I also published a free read-only diagnostic script for this setup class:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/wiaikit/wiaikit-windows-ai-coding-setup-repair" rel="noopener noreferrer"&gt;GitHub: WiaiKit Windows AI Coding Setup Repair&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It checks the setup by layer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;npm is not recognized&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Electron failed to install correctly&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;node-gyp&lt;/code&gt; / Visual Studio Build Tools native module issues&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;better-sqlite3&lt;/code&gt; and other native modules&lt;/li&gt;
&lt;li&gt;&lt;code&gt;windows-key-listener fallback mode&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;voice coding stack indicators&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Run it before buying anything:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Invoke-WebRequest&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://raw.githubusercontent.com/wiaikit/wiaikit-windows-ai-coding-setup-repair/main/wiaikit-windows-ai-coding-setup-check.ps1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-OutFile&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\wiaikit-windows-ai-coding-setup-check.ps1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;powershell&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ExecutionPolicy&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Bypass&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-File&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\wiaikit-windows-ai-coding-setup-check.ps1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ProjectPath&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;C:\path\to\your\project&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Browser version: &lt;a href="https://pay.wiaikit.com/free?lang=en" rel="noopener noreferrer"&gt;https://pay.wiaikit.com/free?lang=en&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Paid repair kit
&lt;/h2&gt;

&lt;p&gt;The paid WiaiKit repair kit is for the longer path after the diagnostic tells you which layer is &lt;code&gt;BROKEN&lt;/code&gt; or needs &lt;code&gt;CHECK&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;It includes the ordered recovery path for npm PATH, Electron install failures, node-gyp, Visual Studio Build Tools, native modules, OpenWhispr, Codex, Claude Code, and push-to-talk voice workflows.&lt;/p&gt;

&lt;p&gt;Paid repair kit page: &lt;a href="https://pay.wiaikit.com" rel="noopener noreferrer"&gt;https://pay.wiaikit.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you only need the general troubleshooting direction, the notes above and the free diagnostic should already help. The ZIP is for people who want the compact ordered recovery path.&lt;/p&gt;

</description>
      <category>windows</category>
      <category>node</category>
      <category>electron</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
