tsc : 无法加载文件 C:UsersAdministratorAppDataRoaming pm sc.ps1,由于在此系统上禁止运行脚本。有关详细信息,请参阅 https:/g…

内容分享7小时前发布
0 0 0

使用yarn安装完ts,运行tsc-v,报错

tsc : 无法加载文件 C:UsersAdministratorAppDataRoaming
pm	sc.ps1,由于在此系统上禁止运行脚本。有关详细信息,请参阅 https:/g...

解决办法:以管理员身份运行powerShell

tsc : 无法加载文件 C:UsersAdministratorAppDataRoaming
pm	sc.ps1,由于在此系统上禁止运行脚本。有关详细信息,请参阅 https:/g...

输入:set-ExecutionPolicy RemoteSigned,输入Y,保存

© 版权声明

相关文章

暂无评论

none
暂无评论...