vscode 系统上禁止运行脚本。有关详细信息, 请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies

  1. 按:win+x
  2. 打开PowerShell(管理员)
  3. 输入: set-ExecutionPolicy RemoteSigned
  4. 该允许的允许,该同意的同意[按Y或者A],
  5. 成功提示:RemoteSigned
posted @ 2021-12-25 10:08  智商感人  阅读(406)  评论(1)    收藏  举报