TX017

本番ビルドなし

コンソール

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.

発生原因

text start は text build の出力を配信しますが、出力ディレクトリー(outDir、デフォルトは dist)にビルドがありません。

修正方法

text buildtext start

text.config.ts で outDir を変更した場合は、両方のコマンドを同じプロジェクトルートから実行してください。