Before submitting#
Area#
apps/server
Steps to reproduce#
github surfaced https://github.com/pingdotgg/t3code/issues/12218 as potential dupe, checked for the linux-x64 package on the npm - it exists and was published under 2h ago (with 0 downloads) https://www.npmjs.com/package/@t3code/t3-linux-x64/v/0.0.45-nightly.20260930.2481
due to that - my best guess is that npm is continuing to fuck up their hold on new package versions - the barrel t3 is available but the platform-specific is not (same issue as effect had?)
➜ ~ npx t3@nightly --host 0.0.0.0 --no-browser
Need to install the following packages:
t3@0.0.45-nightly.20260930.2481
Ok to proceed? (y)
t3: no T3 Code CLI build is available for this platform (linux-x64).
Supported platforms: darwin-arm64, linux-arm64, linux-x64, win32-arm64, win32-x64.
If yours is listed, reinstall t3 so npm fetches its optional dependency.
The desktop app and release archives are at https://github.com/pingdotgg/t3code/releases
Expected behavior#
it runs
Actual behavior#
it doesn't
Impact#
Blocks work completely
Version or commit#
No response
Environment#
Arch linux, no system updates compared last nightly
Logs or stack traces#
Screenshots, recordings, or supporting files#
No response
Workaround#
not for users but for maintainers - maybe we should holding off the release of the main package until npm actually makes all the deps downloadable?
Triage#
This isn't a broken linux-x64 build, and it isn't a duplicate of #12218 (closed issue). That one was about Intel Macs (
darwin-x64), and there's no package for that target because Node SEA doesn't support it.linux-x64is one of the five published targets.@t3code/t3-linux-x64@0.0.45-nightly.20260930.2481is on npm withos: ["linux"]andcpu: ["x64"], and its tarball has been downloadable since2026-09-30T09:54Z. A cleannpx t3@0.0.45-nightly.20260930.2481 --versionon linux-x64 now printst3 v0.0.45-nightly.20260930.2481.What you hit was the few minutes before that.
npx t3only runsbin/t3.js, which resolves@t3code/t3-<platform>/package.jsonand exits with the message you saw when that optional dependency is missing. npm treats a failed optional dependency as non-fatal, so the launcher installs fine and then refuses to start.We already publish the platform packages first and the launcher last (
apps/server/scripts/cli.ts), but that isn't enough anymore. npm now scans new publishes before they can be installed (publish-time malware scanning), and the delay grows with package size. For this nightly (release run):@t3code/t3-linux-x64was accepted bynpm publisharound09:44:43Z, but the registry didn't serve it until09:54:07Z.t3launcher (1.5 kB) was live at09:47:30Z, so thenightlytag moved while the 72 MB linux-x64 tarball was still being scanned.09:50:05Z, right in that gap.Recent nightlies show the same gap, with the launcher going live 3 to 10 minutes before the linux-x64 package. The "0 downloads" figure on the version page is just npm's usual stats lag.
npxalso caches the broken install under~/.npm/_npx, so re-running the same command doesn't fetch the optional dependency again, even after it exists. This should get you going:If it still prints the missing-build error, something is skipping optional dependencies locally. Could you paste the output of
npm config get optional, anyomit=optionalsetting, and thenpm WARN optionallines from a fresh install?Your suggested fix is the right one. After each
@t3code/t3-<platform>publish, the release should wait until that version's tarball is actually fetchable, and only then publisht3and movenightly.