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를 변경했다면 두 명령을 같은 프로젝트 루트에서 실행하세요.