I know this is an old issue but it showed up after upgrading my npm,
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. You can fix this by running npm uninstall -g create-react-app or yarn global remove create-react-app before using create-react-app again.
I tried to fix it with:
npm uninstall -g create-react-app
yarn global uninstall create-react-app
npx create-react-app [name of folder]
It did not work
The next step, clean node cache
same issue
the last step I removed npm and node from my system and install it again
same issue.
There are some clues here but it does not work for me
source: Template not provided using create-react-app
I just want to repair this, not use flags command options.
Any recommendations are welcome anyway.