エラーコード
各TXコードは固定で、原因と修正方法を記載したページがあります。コードの番号変更や再利用はありません。
@textjs/core
@textjs/react
TX002コンソールルートの外でのレンダリングHooks and components must be rendered inside a console root (createConsoleRoot / renderToConsole).TX003不明なホスト要素Unknown host element <…>. Use the exported components (<Box>, <Text>, …).TX004<Text>内にネストされた<Box><Box> cannot be nested inside <Text>.TX005アンマウント後のレンダリングCannot render into an unmounted console root.TX006キーの組み合わせに不明な修飾キーUnknown modifier "…" in key combo "…".TX007キーの組み合わせに不明なキーUnknown key "…" in key combo "…".TX008空のキーの組み合わせEmpty key combo "…".TX009単一のキー操作が必要"…" is not a single key stroke.TX010renderToTerminal用のstdoutが存在しないrenderToTerminal() found no stdout to write to.TX011DOMがない環境での<Image src><Image src> needs a DOM; pass `pixels` instead.TX012<Image>用の2Dキャンバスなし<Image> could not get a 2D canvas context to decode the image.TX013<Image>の読み込み失敗<Image> failed to load "…".
@textjs/app
TX014<AppRouter>の外での使用… must be used inside <AppRouter>. Run your app with `text dev`, or wrap it in <AppRouter routes={…}>.TX015ルートファイルにデフォルトのコンポーネントなしThe default export is not a React Component in "…".TX016ルートハンドラーからResponseが返されていないNo response is returned from route handler for … …. Ensure you return a `Response`.TX017本番ビルドなしCould not find a production build in the '…' directory. Try building your app with 'text build' before starting the production server.TX018app/ディレクトリーなしNo app/ directory found in ….TX019text run / text mcpにはBunが必要`text …` requires Bun (route files are imported as TypeScript). Install Bun (https://bun.sh) or run `bunx --bun text …`.TX020不明なCLIコマンドUnknown command ….TX028ブロックされたホストBlocked request. This host (…) is not allowed. Add it to `…` in text.config.ts.TX029不明なtext.configオプション警告Unknown option … in …. It will be ignored.TX030サーバーレンダリングのルートには常駐サーバーが必要Server-rendered routes (…) need a long-lived server, which the … adapter does not provide. Use `text build --adapter bun` or `text start`, or remove `export const runtime = "server"`.TX031無効なdynamicエクスポートInvalid `dynamic` export … in …. Use "auto", "force-static" or "force-dynamic".
@textjs/opencode
TX021無効なOpenCodeサーバーURLUse an HTTP(S) server origin without credentials for --target or OPENCODE_SERVER_URL.TX022ブリッジのポートがOpenCodeと競合The OpenCode server already uses port …. Pick another with --port.TX023ブリッジはすでに実行中Bridge already running at …. Connect to … (or pass --port …).TX024ブリッジのポートは使用中Port … is already in use. Run bunx @textjs/opencode@latest proxy --port … and connect to ….