I was trying to create an app on my PC with Windows PowerShell. I tried updating and setting up environment variables accordingly. But nothing worked for me until I followed these steps.
- npm install create-react-app
- npx create-react-app
and then it started working. Use these commands in the same sequence.