[BUG] After auth, claude complains "unsupported platform: linux-arm64. No compatible claude code binary found"

Status Open
Reported on v2.1.218
Maintainer reply None cached
Activity 0 comments · opened Jul 23, 2026

Preflight Checklist

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

What's Wrong?

Using the VS Code extension (version 2.1.218) with the latest VSCode (1.130.0).

Using devcontainers, everything runs inside a Devcontainer. Using a MacOS with Colima for Docker implementation.

From time to time, Claude extension claims that is no longer authenticated, and asks for re-auth. After sucessfuly complete to process, I get this message:

Unsupported platform: linux-arm64. No compatible Claude Code binary found.

Screenshot:
<img width="488" height="509" alt="Image" src="https://github.com/user-attachments/assets/c2ffb2c4-3362-409c-8774-2f0afc8702f9" />

On a separate instance I was able to see this longer message:

ReferenceError: Claude Code native binary at /home/vscode/.vscode-server/extensions/anthropic.claude-code-2.1.217-linux-arm64/resources/native-binary/claude exists but failed to launch. This usually means the binary does not match this system's libc — e.g. spawning a musl-linked binary on a glibc Linux host fails because the musl dynamic loader (/lib/ld-musl-*) is missing. Specify a matching binary with options.pathToClaudeCodeExecutable.

Looking at that binary (used docker exec -it -w / <devcontainer_id> /bin/bash):

root@83f68774ff12:/# ls -la /home/vscode/.vscode-server/extensions/anthropic.claude-code-2.1.217-linux-arm64/resources/native-binary/claude
-rwxr-xr-x 1 root root 265337760 Jul 22 06:24 /home/vscode/.vscode-server/extensions/anthropic.claude-code-2.1.217-linux-arm64/resources/native-binary/claude

root@83f68774ff12:/# file /home/vscode/.vscode-server/extensions/anthropic.claude-code-2.1.217-linux-arm64/resources/native-binary/claude
/home/vscode/.vscode-server/extensions/anthropic.claude-code-2.1.217-linux-arm64/resources/native-binary/claude: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=b90734e15cf32e7e84b6c05d45e09ba8ddb18f45, not stripped

root@83f68774ff12:/# /home/vscode/.vscode-server/extensions/anthropic.claude-code-2.1.217-linux-arm64/resources/native-binary/claude --version
2.1.217 (Claude Code)

root@83f68774ff12:/# uname -a
Linux 83f68774ff12 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:42:33 UTC 2026 aarch64 GNU/Linux

So the command binary runs just fine inside the devcontainer. Not sure what else to include to help debug this.

Workaround: use command "Dev Containers: Rebuild Container Without Cache", authenticate again, and it works.

What Should Happen?

I am running a supported VSCode in a supported architecture, it should be able to run.

Error Messages/Logs

Unsupported platform: linux-arm64. No compatible Claude Code binary found.


And


ReferenceError: Claude Code native binary at /home/vscode/.vscode-server/extensions/anthropic.claude-code-2.1.217-linux-arm64/resources/native-binary/claude exists but failed to launch. This usually means the binary does not match this system's libc — e.g. spawning a musl-linked binary on a glibc Linux host fails because the musl dynamic loader (/lib/ld-musl-*) is missing. Specify a matching binary with options.pathToClaudeCodeExecutable.

Steps to Reproduce

I don't have a reproducible step-by-step process unfortunately. It just happens sometimes.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.217 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗