VScode (scripts are forbidden to run on this system) reports an error

Open the terminal and enter the following 2 lines of commands in the terminal:

get-executionpolicy

set-executionpolicy remotesigned

Then run the ts file and there will be no problem

 

 

Guess you like

Origin blog.csdn.net/spring_007_999/article/details/130948392