node升级到15X
使用下面命令安装
npx create-react-app@5.0.0 react-app
亦或者清除缓存再次尝试
npm uninstall -g create-react-app
yarn global remove create-react-app
npx clear-npx-cache
npx create-react-app react-app
node升级到15X
使用下面命令安装
npx create-react-app@5.0.0 react-app
亦或者清除缓存再次尝试
npm uninstall -g create-react-app
yarn global remove create-react-app
npx clear-npx-cache
npx create-react-app react-app