问题:yarn : 无法加载文件 C:\Program Files\nodejs\yarn.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
原因:现用执行策略是 Restricted(默认设置)
解决办法:
1.win+X键,使用管理员身份运行power shell
2.输入命令:set-executionpolicy remotesigned