کدهای خطا
هر کد 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<Box> تودرتو در <Text><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.TX010نبود stdout برای renderToTerminalrenderToTerminal() found no stdout to write to.TX011<Image src> بدون DOM<Image src> needs a DOM; pass `pixels` instead.TX012نبود canvas دوبعدی برای <Image><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.TX018نبود دایرکتوری app/No app/ directory found in ….TX019نیاز text run / text mcp به Bun`text …` requires Bun (route files are imported as TypeScript). Install Bun (https://bun.sh) or run `bunx --bun text …`.TX020دستور ناشناختهٔ خط فرمان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مقدار نامعتبر برای export مربوط به dynamicInvalid `dynamic` export … in …. Use "auto", "force-static" or "force-dynamic".
@textjs/opencode
TX021نشانی نامعتبر سرور OpenCodeUse an HTTP(S) server origin without credentials for --target or OPENCODE_SERVER_URL.TX022تداخل درگاه پل با OpenCodeThe 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 ….