uni-app 终端无法使用yarn

uni-app 终端无法使用yarn

开发环境 版本号 项目创建方式
Windows 2004
HBuilderX 3.1.9

操作步骤:

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

预期结果:

  • 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

alt


更多关于uni-app 终端无法使用yarn的实战教程也可以访问 https://www.itying.com/category-93-b0.html

2 回复

同样的问题,大佬有没有解决的???

更多关于uni-app 终端无法使用yarn的实战教程也可以访问 https://www.itying.com/category-93-b0.html


下载附件zip包,将附件中的main.js替换到builtincef3terminal/script/main.js

回到顶部