【问题解决】create-react-app创建失败

1、错误提示

在这里插入图片描述

2、解决方案

(1)更新npm

npm install -g npm@latest

(2)重新安装

 create-react-app my-app

在这里插入图片描述

(3)使用

cd my-app
npm start

浏览器访问http://localhost:3000

猜你喜欢

转载自blog.csdn.net/weixin_44704985/article/details/112563431