Documentation Index
Fetch the complete documentation index at: https://docs.useraven.ai/llms.txt
Use this file to discover all available pages before exploring further.
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 and click Install. Make sure these optional components are selected (they should be by default):
- 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:The project requires
node >= 22.12.0 (see package.json engines). Using nvm install lts may install a newer major version that hasn’t been tested.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):
For GStreamer 1.28+, there is a single combined installer (runtime + development). For older versions, download both the Runtime and Development MSI files.
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.If GStreamer installed to
C:\Program Files\gstreamer\ instead of C:\gstreamer\, that’s fine - just make sure the path matches your installation.Install CMake
Clone the repo and install dependencies
npm install takes a few minutes. It automatically rebuilds better-sqlite3 for Electron via the postinstall script.Verify:If npm install fails with Visual Studio errors
If npm install fails with Visual Studio errors
Build the GStreamer echo-cancellation addon
First, check the Electron version:Then build targeting that version:Replace Verify:
<ELECTRON_VERSION> with the version from the previous command.The
build-deps.sh script is macOS-only. On Windows, the GStreamer MSVC installer already includes all required plugins (including WebRTC DSP).Build the Windows audio capture module
If the build fails
If the build fails
- Linker errors: Make sure Rust is using the MSVC target:
rustup default stable-msvc - “Windows SDK not found”: Open Visual Studio Installer > Modify > Individual components and install the latest “Windows 10 SDK” or “Windows 11 SDK”
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 |
NODE_MODULE_VERSION mismatch at runtime | npx @electron/rebuild -f -w better-sqlite3 from the project root |
| 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 |
| App starts, no audio | Settings > Sound: set correct default playback/recording devices |