[BUG] - Remote Control broken on Android/Termux after Node.js 24 upgrade

Open 💬 2 comments Opened Jun 27, 2026 by LoafWorks

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?

Platform: Android (Termux), aarch64, Node.js 24.17.0

Claude Code version: 2.1.112

Subscription: Pro

---
Summary

claude remote-control returns Error: Remote Control is
not yet enabled for your account since June 19th. It
worked on June 18th with no config changes. The only
environmental change was a Termux package upgrade that
brought Node.js from 22.x to 24.17.0.

Possible root cause found: Node.js 24 on Android/Termux reports
process.platform === 'android' instead of 'linux'. --localstorage-file is passed with an empty path
(warning: --localstorage-file was provided without a
valid path), breaking the localStorage API

Confirmed via investigation:

  • The Remote Control check is entirely local — setting

HTTPS_PROXY to a dead port produces the same instant
error, confirming no network call is made

  • Statsig endpoints (featuregates.org, statsigapi.net)

are reachable from this device (return 403 on
unauthenticated requests)

  • Spoofing package.json version to 2.1.195 did not

change the error — version is not the gate

  • Patching process.platform to 'linux' via a Node.js

wrapper fixes the --localstorage-file warning but
doesn't fix the Statsig cache or Remote Control —
suggesting Statsig initialization fails inside the
binary before the JS-level patch takes effect

Workarounds attempted:

  • claude auth logout + claude auth login (multiple

times)

  • NODE_OPTIONS=--require fix-platform.js to patch

process.platform

  • Node wrapper intercepting --localstorage-file empty

argument

What Should Happen?

Either fix Statsig initialization for platform: android, or make the Remote Control gate check fall through to a network fetch when the local cache is empty.

Error Messages/Logs

Steps to Reproduce

run claude remote-control in Termux on Android

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.112

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗