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

אם outDir שונה בקובץ text.config.ts, יש להריץ את שתי הפקודות מאותה ספריית שורש של הפרויקט.