今天,在powershell里输入 create-react-app study,会提示create react-app :无法加载文件C:\Users\cmc\AppData\Roaming\npm\create-react-app.ps1, 因为在此系统上禁止运行脚本。有关详细信息,请参阅....
用powershell使用 create-react-app命令报错
之后重装node create-react-app都不行
截止发文章的时间,错误原因未知,但不知为何已经正常了
因此,还有报错的话还可以使用

npx create-react-app study
npm init react-app study
yarn create react-app study

三个命令来创建项目

相关文章:

  • 2022-01-10
  • 2021-11-25
  • 2022-01-03
  • 2021-10-07
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-05
  • 2021-10-25
  • 2021-08-01
  • 2021-09-30
  • 2022-12-23
  • 2021-11-19
相关资源
相似解决方案