react安装时出现 D:\Desktop\my-app\node_modules\core-js: Command failed报错,然后删除 node_modules
一、react安装时
二、解决方法
一、react安装时
react安装时出现 D:\Desktop\my-app\node_modules\core-js: Command failed报错,然后:
Deleting generated file… node_modules
Deleting generated file… package.json
Deleting generated file… yarn.lock
Deleting my-app/ from D:\Desktop
二、解决方法
1.把yarn卸载的cmd命令: npm uninstall yarn -g
2.然后用npm安装:先执行npm install create-react-app -g再执行 create-react-app react-app