TX019

text run / text mcp richiedono Bun

Console

Text.js error TX019: `text …` requires Bun (route files are imported as TypeScript). Install Bun (https://bun.sh) or run `bunx --bun text …`.

Perché succede

text run e text mcp importano direttamente i tuoi file di route .tsx, operazione che richiede il loader TypeScript nativo di Bun. Avviata con Node, la CLI si riesegue con Bun quando bun è nel PATH; questo errore indica che non lo è.

Come risolvere

Installa Bun, oppure esegui il comando direttamente con Bun:

bunx --bun text runbunx --bun text mcp

text dev, text build e text start funzionano su Node.