tsc:无法加载文件,未对文件进行数字签名

339 阅读1分钟

问题

image.png

解决方案

在vscode终端输入Set-ExecutionPolicy -Scope CurrentUser,然后再输入RemoteSigned命令就可以正常执行了。

image.png