[Bug] Computer Use tool fails with "Cannot read properties of undefined" on initialization
Bug Description
The computer use is not working correctly, I granted all permission, make sure I'm on the right version, granted all accessibility, quited everything and join again, and even tried reinstalling claude, and it's still not working and Computer Use[request_access]
⎿ Error: Cannot read properties of undefined (reading 'checkAccessibility')
⏺ Got an error on request_access. Let me try taking a screenshot directly to see if the tool responds.
⏺ Computer Use[screenshot]
⎿ Error: Cannot read properties of undefined (reading 'registerEscape')
❯ or just try click on something
⏺ Both request_access and screenshot are failing with internal errors (Cannot read properties of undefined). The computer-use MCP reconnected but
doesn't seem fully functional — it looks like the server process has an initialization issue. give me these errors.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.89
- Feedback ID: 5303fa30-2e61-464e-a9f2-ef48f4c12336
Errors
[{"error":"Error: spawn /Users/midosang/.nvm/versions/node/v22.21.1/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg EACCES\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-04-01T04:59:31.758Z"},{"error":"Error: spawn /Users/midosang/.nvm/versions/node/v22.21.1/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg EACCES\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-04-01T04:59:39.842Z"},{"error":"TypeError: Cannot read properties of undefined (reading 'checkAccessibility')\n at Object.ensureOsPermissions (file:///Users/midosang/.nvm/versions/node/v22.21.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1842:76971)\n at QW4 (file:///Users/midosang/.nvm/versions/node/v22.21.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1570:10612)\n at file:///Users/midosang/.nvm/versions/node/v22.21.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1570:32635\n at async Object.K [as call] (file:///Users/midosang/.nvm/versions/node/v22.21.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1842:82708)\n at async _9Y (file:///Users/midosang/.nvm/v…
Note: Content was truncated.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗