Skip to content

SSH setup reports a missing compiler when the requested nightly is not yet published #10084

Description

@neronlux

What happened

Desktop SSH connection failed with ETARGET for t3@0.0.39-nightly.20260905.1286. The error then claimed the package was installed without an executable and recommended installing a C toolchain.

Diagnosis

The connection attempt occurred before npm published the requested version:

  • GitHub release: September 5, 2026, 09:51:30 UTC.
  • Failed npm invocation: 09:57:00 UTC.
  • npm publication: 09:58:48 UTC.

In packages/ssh/src/tunnel.ts, require_installed_t3_cli suppresses the npm command’s failure with || true, then prints the native-build diagnostic whenever no executable path is returned. This also misclassifies package-version resolution failures.

Source inspected: commit bc8584bf8e967ecc1cd215d42bd7a47faf51a862 (nightly 1285).

Steps to reproduce

  1. Use a desktop nightly during the interval before its corresponding npm package is published.
  2. Connect to an SSH environment that needs to install that exact version.
  3. Observe npm’s ETARGET followed by misleading compiler-installation advice.

These steps describe the observed failure; a fresh reproduction was not performed.

Version

Requested remote package: 0.0.39-nightly.20260905.1286.
Triage CLI: 0.0.39-nightly.20260905.1285.

Environment

Remote: Linux x64, Node 22.23.2, npm 11.17.0. Desktop connecting over SSH; desktop OS not collected.

Evidence

npm error code ETARGET
npm error notarget No matching version found for t3@0.0.39-nightly.20260905.1286.
Remote host installed t3@0.0.39-nightly.20260905.1286 but npm produced no t3 executable, which usually means a native dependency (node-pty) failed to build.

Related issues

No matching issue found in searches for ETARGET, "npm produced no", and nightly SSH npm.

Fix applied or workaround

Confirmed the exact package is now published and advised reconnecting. Successful reconnection has not yet been confirmed. No installation or service changes were made.

Filed by

Codex (GPT-6), via T3 triage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions