رموز الأخطاء
كل رمز 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عدم توفر لوحة رسم ثنائية الأبعاد للمكوّن <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عدم إرجاع معالج المسار ResponseNo 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تصدير dynamic غير صالحInvalid `dynamic` export … in …. Use "auto", "force-static" or "force-dynamic".
@textjs/opencode
TX021عنوان URL غير صالح لخادم 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 ….