Skip to content

[BUG] Voice recording requires the native audio module, which could not be loaded. #31065

@phoenixai-solutions

Description

@phoenixai-solutions

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When trying to activate voice in ClaudeCode (Version 2.1.69) via Windows Powershell I get teh following error:
Voice recording requires the native audio module, which could not be loaded.

Trying to troubleshoot with Claude direct highlights:
The /voice feature on Windows requires a native audio-capture.node binary at audio-capture/x64-win32/audio-capture.node inside the Claude Code package, and it's completely missing from your installation.

I reinstalled Claude and issues remains so I cant use /voice.

What Should Happen?

I should be able activate the /voice command and use voice with Claude Code.

Error Messages/Logs

Output from Claude:
Bug: /voice command fails on Windows — native audio module not bundled

  Environment:
  - Claude Code: v2.1.69 (installed via npm install -g @anthropic-ai/claude-code)
  - Node.js: v20.20.0
  - npm: 11.2.0
  - Platform: x64-win32
  - OS: Windows 11 Home 10.0.26100

Error message:
Voice recording requires the native audio module, which could not be loaded.

Root cause:
The audio-capture/ directory is entirely missing from the npm package. The code in checkRecordingAvailability() expects a native binary at audio-capture/x64-win32/audio-capture.node, but no audio-capture/ directory is shipped in the package. The vendor/ directory only contains ripgrep/.

On non-Windows platforms, the code falls back to SoX (rec command), but on Windows the only supported path is the native module — so there is no fallback and voice mode is completely unavailable.

Steps to Reproduce

  1. Open Windows Powershell
  2. Run Claude
  3. Type /voice
  4. Hit enter

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.69

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions