Codici di errore
Ogni codice TX è stabile e ha una pagina con la causa e la soluzione. I codici non vengono mai rinumerati o riutilizzati.
@textjs/core
@textjs/react
TX002Rendering al di fuori di una radice della consoleHooks and components must be rendered inside a console root (createConsoleRoot / renderToConsole).TX003Elemento host sconosciutoUnknown host element <…>. Use the exported components (<Box>, <Text>, …).TX004<Box> annidato in <Text><Box> cannot be nested inside <Text>.TX005Rendering dopo lo smontaggioCannot render into an unmounted console root.TX006Modificatore sconosciuto nella combinazione di tastiUnknown modifier "…" in key combo "…".TX007Tasto sconosciuto nella combinazione di tastiUnknown key "…" in key combo "…".TX008Combinazione di tasti vuotaEmpty key combo "…".TX009Attesa una singola pressione di tasto"…" is not a single key stroke.TX010Nessuno stdout per renderToTerminalrenderToTerminal() found no stdout to write to.TX011<Image src> senza un DOM<Image src> needs a DOM; pass `pixels` instead.TX012Nessun canvas 2D per <Image><Image> could not get a 2D canvas context to decode the image.TX013Caricamento di <Image> fallito<Image> failed to load "…".
@textjs/app
TX014Utilizzo al di fuori di <AppRouter>… must be used inside <AppRouter>. Run your app with `text dev`, or wrap it in <AppRouter routes={…}>.TX015File di route senza componente predefinitoThe default export is not a React Component in "…".TX016Route handler senza Response restituitaNo response is returned from route handler for … …. Ensure you return a `Response`.TX017Nessuna build di produzioneCould not find a production build in the '…' directory. Try building your app with 'text build' before starting the production server.TX018Directory app/ assenteNo app/ directory found in ….TX019text run / text mcp richiedono Bun`text …` requires Bun (route files are imported as TypeScript). Install Bun (https://bun.sh) or run `bunx --bun text …`.TX020Comando CLI sconosciutoUnknown command ….TX028Host bloccatoBlocked request. This host (…) is not allowed. Add it to `…` in text.config.ts.TX029Opzione text.config sconosciutaAvvisoUnknown option … in …. It will be ignored.TX030Le route renderizzate lato server richiedono un server persistenteServer-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"`.TX031Esportazione dynamic non validaInvalid `dynamic` export … in …. Use "auto", "force-static" or "force-dynamic".
@textjs/opencode
TX021URL del server OpenCode non validoUse an HTTP(S) server origin without credentials for --target or OPENCODE_SERVER_URL.TX022Porta del bridge in conflitto con OpenCodeThe OpenCode server already uses port …. Pick another with --port.TX023Bridge già in esecuzioneBridge already running at …. Connect to … (or pass --port …).TX024Porta del bridge in usoPort … is already in use. Run bunx @textjs/opencode@latest proxy --port … and connect to ….