1. Environment node> = 6, npm> = 5.2
npm5.2 comes after npx command
2.npm install -g create-react-app install react global environment
3.cd to store the project file folder
create-react-app my-app
If npm5.2 can also omit the second step, direct execution npx create-react-app my-app, if at this time does not react global environment installed, it will automatically install environment, and then create a project, the process will be slow
When installed with npx, try to match the version specified in node.js, or install other dependencies subsequent projects, the error (now node.js version is too low) can occur.
4.cd to my-app directory
npm start running project
Reproduced in: https: //www.cnblogs.com/lvshoutao/p/11044996.html