TX019

text run / text mcp requieren Bun

Consola

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

Por qué ocurre

text run y text mcp importan directamente tus archivos de ruta .tsx, lo que requiere el cargador nativo de TypeScript de Bun. Si se inicia con Node, la CLI vuelve a ejecutarse con Bun cuando bun está en el PATH; este error significa que no lo está.

Cómo solucionarlo

Instala Bun o ejecuta el comando directamente con Bun:

bunx --bun text runbunx --bun text mcp

text dev, text build y text start funcionan con Node.