在创建react项目,执行以下命令的时候

npx create-react-app my-app

报错如下:

安装 create-react-app@latest 失败,错误代码:243

 

 解决方案:

全局安装即可

npm install -g create-react-app 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
  • 2021-09-20
  • 2021-10-25
猜你喜欢
  • 2022-02-10
  • 2021-09-02
  • 2022-12-23
  • 2021-11-29
  • 2021-09-02
  • 2021-11-04
  • 2022-12-23
相关资源
相似解决方案