TX026

टारगेट डायरेक्टरी खाली नहीं है

कंसोल

Text.js error TX026: The directory … contains files that could conflict. Either try using a new directory name, or remove the files.

ऐसा क्यों होता है

create-text-app सिर्फ़ नई या खाली डायरेक्टरी में प्रोजेक्ट का ढांचा बनाता है, इसलिए यह कभी आपकी फ़ाइलें ओवरराइट नहीं करता। .git डायरेक्टरी और एडिटर फ़ोल्डर (.vscode, .idea) मौजूद हो सकते हैं।

इसे ठीक करने का तरीका

डायरेक्टरी के लिए नया नाम चुनें:

bunx create-text-app my-console-app