HKUDS/nanobot · error · TuiUnavailableError
this source checkout requires Bun to run its matching TUI; i
Error message
this source checkout requires Bun to run its matching TUI; install Bun, then run `nanobot agent` again
What it means
Error "this source checkout requires Bun to run its matching TUI; install Bun, then run `nanobot agent` again" thrown in HKUDS/nanobot.
Source
Thrown at nanobot/cli/tui_launcher.py:182
system = {"Windows": "win32", "Darwin": "darwin", "Linux": "linux"}.get(
platform.system(),
platform.system().lower(),
)
machine = {"x86_64": "x64", "AMD64": "x64", "aarch64": "arm64"}.get(
platform.machine(),
platform.machine().lower(),
)
if system == "win32" and machine == "arm64":
raise TuiUnavailableError(
"the native TUI is not available on Windows ARM64 because Bun FFI is disabled "
"on that platform; use the classic prompt until the upstream runtime supports it"
)
asset = f"nanobot-tui-{system}-{machine}{suffix}"
source_dir = _source_checkout_tui_dir()
if source_dir is not None:
bun = shutil.which("bun")
if not bun:
raise TuiUnavailableError(
"this source checkout requires Bun to run its matching TUI; "
"install Bun, then run `nanobot agent` again"
)
return _resolve_source_tui_command(source_dir, bun)
packaged = Path(__file__).resolve().parents[1] / "tui" / "bin" / asset
if packaged.is_file():
return [str(packaged)]
downloaded = _download_release_tui(asset)
if downloaded is not None:
return [str(downloaded)]
raise TuiUnavailableError(
f"no native TUI archive is published for nanobot {__version__} on this platform; "
"current source installs must be editable and keep their checkout and Bun available, "
"while released packages need a matching GitHub release archive; use "
"`nanobot agent --classic` if intentional"View on GitHub (pinned to 42f37dc4c0)
When it happens
Trigger: Thrown at nanobot/cli/tui_launcher.py:182 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of HKUDS/nanobot@42f37dc4c0 (2026-08-26).
Data as JSON: /api/errors/f113b8a31bea974c.
Report an issue: GitHub.