computer-use input tools broken on macOS ARM (M3) - missing native module
Resolved 💬 2 comments Opened Apr 10, 2026 by SethCodes Closed Apr 10, 2026
Description
Computer-use MCP input tools (left_click, type, key, double_click, computer_batch, etc.) all fail on macOS ARM (Apple M3) with:
Cannot find module '/home/runner/code/tmp/claude-cli-external-build-2216/node_modules/@ant/computer-use-input/prebuilds/computer-use-input.node'
The screenshot tool works fine. Only input tools are affected.
Environment
- Claude Code version: 2.1.100 (also broken on 2.1.89)
- Platform: macOS Sequoia 15.7.4 (Darwin 24.6.0)
- Chip: Apple M3 Pro (ARM64)
- Install method: npm global (
/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/)
Root Cause
The error path /home/runner/code/tmp/claude-cli-external-build-2216/ is a Linux CI build path, not a macOS path. The native prebuilt binary computer-use-input.node appears to only be compiled for Linux and is not included for darwin-arm64.
Steps to Reproduce
- Install Claude Code on macOS ARM (M3/M4)
- Use computer-use MCP:
request_access, thenscreenshot(works), thenleft_click(fails) - All input tools fail with the same missing module error
Expected Behavior
Input tools should work on macOS ARM, same as screenshot does.
Workaround
Used Python's Quartz framework (CGEventCreateMouseEvent, CGEventCreateKeyboardEvent) to simulate mouse/keyboard input as a workaround, but this is very clunky.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗