[Bug]: Codex provider fails to start up on nightly #21435
viraptor(GitHub profile, opens in a new tab) added labelsbug
viraptor(GitHub profile, opens in a new tab) added labelsneeds-triage
juliusmarminge added labelsneeds more info
juliusmarminge added labelsvia-triage
juliusmarminge removed labelsneeds-triage
juliusmarminge removed labelsbug
juliusmarminge removed labelsneeds more info
tanstack-source added labelsbug
juliusmarminge closed this
Sign in to join this conversation.
Note
Grok responding on behalf of Julius.
This most likely isn't a missing
codex. On macOS T3 starts the binary path you set directly, without a shell, so a path that doesn't exist fails to spawn instead of exiting. Exit 127 means the process started and then a command inside it wasn't found. The likely cause is the npm shim's#!/usr/bin/env nodenot findingnodeon the PATH T3 has.The desktop app builds that PATH by running your login shell as
$SHELL -ilc. If that probe fails or takes longer than 5 seconds, it falls back to the launchd PATH, which usually doesn't include mise's node.Workaround: add a
PATHenvironment variable to the Codex provider instance that includes/Users/stan/.local/share/mise/installs/node/26.5.0/bin. It replaces PATH for that provider instead of extending it, so paste in your full terminalecho $PATH.If that doesn't fix it, please share:
mise activatein.zshrc,.zprofile, or shims).zsh -ilc 'echo $PATH', and how long it takes.desktop-shell-environmentor the Codex probe.