I am trying to create a new project using create-react-app using the command given on the docs i.e npx create-react-app my-app but it doesn\'t cont
create-react-app
npx create-react-app my-app
I had the same problem, this how I solved it.
When I try to run npm rm -g create-react-app, it shows an error.
npm rm -g create-react-app
So I went to the node modules directory (for Mac /usr/local/lib/node_modules) and delete create-react-app directory and reinstall create-react-app using npx create-react-app my-app.
/usr/local/lib/node_modules