下载软件后安装终端 输入 yarn -v

- 发布:2021-04-16 17:32
- 更新:2021-05-13 16:26
- 阅读:426
产品分类: HbuilderX
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 2004
HBuilderX版本号: 3.1.9
操作步骤:
预期结果:
1.22.10
1.22.10
实际结果:
yarn : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参
阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 行:1 字符: 1
- yarn -v
-
+ CategoryInfo : SecurityError: (:) [],PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
yarn : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参
阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 行:1 字符: 1
- yarn -v
-
+ CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
bug描述:
