用powershell使用 create-react-app命令报错

今天,在powershell里输入 create-react-app study,会提示create react-app :无法加载文件C:UserscmcAppDataRoaming pmcreate-react-app.ps1, 因为在此系统上禁止运行脚本。有关详细信息,请参阅....

之后重装node create-react-app都不行
截止发文章的时间,错误原因未知,但不知为何已经正常了
因此,还有报错的话还可以使用

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

三个命令来创建项目

先排队啊先排队
原文地址:https://www.cnblogs.com/mingchen3398/p/11857930.html