TX017

Nessuna build di produzione

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.

Perché succede

text start serve l’output di text build, e la directory di output (outDir, predefinita dist) non contiene alcuna build.

Come risolvere

text buildtext start

Se hai modificato outDir in text.config.ts, esegui entrambi i comandi dalla stessa radice del progetto.