Why I can’t install React and uninstall create-react-app in my system?

I have tried so many ways. But I can’t find any solution. The problem is I can’t install ReactJS in my system. Here is the message I get when complete my installation process.

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.

I cleaned the cache. I also saw it with a fresh node even wanted to try uninstalling the create-react-app. But if I do, I get this message.

enter image description here

I manually deleted this log and it didn’t work.

Can anyone suggest me any solution?

Update: Actually these two problems are solved when I manually deleted
the cache from the AppDataRoamingnpm (temp) directory.

Thanks Everyone

Answer

I have been getting error to uninstall create-react-app and install react in my windows system. I tried to delete the cache by this command npm cache clean. But it didn’t work for me. Finally, I came up with a solution. Though this may not be the best solution.

These two problems are solved when I manually deleted the cache from the AppDataRoamingnpm and npm-cache(temp) directory.

Note: I tried to install a new version of the node which overrides the previous one. But it did not remove the cache.

Thanks, everyone.