VScode (此系统上禁止运行脚本)报错

打开终端,在终端输入以下2行命令:

get-executionpolicy

set-executionpolicy remotesigned

然后运行ts文件就没问题了

 

猜你喜欢

转载自blog.csdn.net/spring_007_999/article/details/130948392