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