오류 코드
각 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.TX022OpenCode와 브리지 포트 충돌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 ….