Tested on Windows 10 (21H2+) and Windows 11. All commands are for PowerShell. Open a new terminal after each installer to pick up PATH changes.
Install Visual Studio Build Tools
Download and run the Visual Studio Build Tools installer.In the installer, check the “Desktop development with C++” workload. Make sure these optional components are selected:
- MSVC Build Tools for x64/x86 (Latest)
- Windows 10/11 SDK
- C++ CMake tools for Windows
Install Node.js 22
Option A - nvm-windows (recommended):Download and run the latest Option B - Download the LTS 22.x MSI installer from nodejs.org.Verify (in a new terminal):
nvm-setup.exe, then open a new terminal:Install Python
Python is required by Or download from python.org - make sure “Add to PATH” is checked.Verify (in a new terminal):
node-gyp to compile native Node.js modules.Install the Rust toolchain
Download and run rustup-init.exe. Accept the defaults (installs
stable-msvc).Verify (in a new terminal):Install GStreamer (MSVC)
Download the MSVC x86_64 installer from gstreamer.freedesktop.org/download - click Windows → MSVC x86_64 (VS 2022, Release CRT).Run with default settings. After installation, verify (open a new terminal):
If the environment variable is not set
If the environment variable is not set
The installer didn’t set it. Find where GStreamer was installed and set it manually:Then restart your terminal.
Install CMake
Build the GStreamer echo-cancellation addon
First, check the Electron version:Then build targeting that version:Replace
<ELECTRON_VERSION> with the version from the previous command.Verify:Troubleshooting
| Symptom | Fix |
|---|---|
Could not find any Python installation | Install Python 3.x and add to PATH (Step 3) |
Could not find any Visual Studio installation | Set $env:GYP_MSVS_VERSION = "2022", delete node_modules, re-run npm install |
| cmake-js: “CMake is not installed” | Install CMake (Step 6) |
| cmake-js: “GStreamer not found” | Set GSTREAMER_1_0_ROOT_MSVC_X86_64 and restart terminal (Step 5) |
| AEC addon crashes Electron on startup | Rebuild with --runtime electron --runtime-version (Step 8) |
napi build linker errors | rustup default stable-msvc and ensure VS Build Tools C++ workload is installed |