I\'m learning React for the first time, and I\'m having a great deal of trouble even getting started with a demo app. When I run npx create-react-app
I get the
did you try installing create-react-app? npm install -g create-react-app
and then run create-react-app my-app
I continued searching for similar problems that others have had, and someone suggested:
npm cache clean --force
so I did that, then I did another:
npm i
and ...
npm i -g create-react-app
then the create-react-app command worked!!
I hope this helps someone in the future.