TX017

Aucun build de production

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.

Cause

text start sert la sortie de text build, et le répertoire de sortie (outDir, par défaut dist) ne contient aucun build.

Solution

text buildtext start

Si vous avez modifié outDir dans text.config.ts, exécutez les deux commandes depuis la même racine du projet.