TX019

text run / text mcp exigem 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 …`.

Por que isso acontece

text run e text mcp importam seus arquivos de rota .tsx diretamente, o que exige o carregador nativo de TypeScript do Bun. Quando iniciada com Node, a CLI executa a si mesma novamente com Bun se bun estiver no PATH; este erro significa que ele não está.

Como corrigir

Instale o Bun ou execute o comando diretamente com Bun:

bunx --bun text runbunx --bun text mcp

text dev, text build e text start funcionam no Node.