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 बदला है, तो दोनों कमांड एक ही प्रोजेक्ट रूट से चलाएं।