エラー

ひさしぶりにcreate-react-appしたらテンプレートができなかった時の対処法

>npx create-react-app react-typescript --typescript
 ↓
A template was not provided. This is likely because you're using an outdated version of create-react-app.
Please note that global installs of create-react-app are no longer supported.

グローバルのcreate-react-appを削除して、再度npxでcreate-react-appした。

// アンインストール
>npm uninstall -g create-react-app
up to date in 0.026s

// 失敗したディレクトリを削除
>rmdir /s react-typescript

// もう一度インストール
>npx create-react-app react-typescript --typescript


テンプレートができない。。。。

結局「node」、「nmp」、「nodist」を全てアンインストールし、node,nmpをインストールするとできた。

※「node」と「npm」のアンインストールは、コンパネからアンインストールし、
%USERPROFILE%\AppData\Roaming\npm
%USERPROFILE%\AppData\Roaming\npm-cache
を削除する。

※「nodist」もコンパネからアンインストール。

【Windows】Node.jsをアンインストールする