TX017

Sem build de produção

Console

Text.js error TX017: Could not find a production build in the '…' directory. Try building your app with 'text build' before starting the production server.

Por que isso acontece

text start serve a saída de text build, e o diretório de saída (outDir, com padrão dist) não contém um build.

Como corrigir

text buildtext start

Se você alterou outDir em text.config.ts, execute os dois comandos a partir da mesma raiz do projeto.