I got this trouble when I try to install react JS with my npm.
this is the massage:
Unknown command: "create-react-app"
To see a list of supported npm commands, run:
npm help
What should I do?
CodePudding user response:
Use npx create-react-app appname
React docs https://reactjs.org/docs/create-a-new-react-app.html
create-react-app is obsolete you must be using old docs or tutorials
GoodLuck
CodePudding user response:
When you create react app use npx not npm.
npx create-react-app my-app
