Update create-react-app
npm install -g create-react-app
/* yarn add global create-react-app */
or
I recommend using npx .
npm install -g npx
/* yarn add global npx */
you can use some lastest version of products without install.
npx create-react-app ./my_react_app
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.