After globally uninstalling create-react-app, I was still getting an error that my create-react-app was out of date. Here’s what solved that for me:
After
sudo npm uninstall -g create-react-app
Run
npx clear-npx-cache
Then try reinstalling create-react-app in the proper working directory:
npx create-react-app my-app