install后报错
yarn : 无法加载文件 C:\Users\DELL\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的about_Execution_Policies。所在位置 行:1 字符: 1
·

yarn : 无法加载文件 C:\Users\DELL\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的
about_Execution_Policies。
所在位置 行:1 字符: 1
+ yarn install
+ ~~~~
+ CategoryInfo : SecurityError: (:) [],PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
解决办法直接在终端 输入 Set-ExecutionPolicy Unrestricted -Scope CurrentUser
更多推荐




所有评论(0)