添加 VS Code 编译任务

Executing task: curl http://localhost:7456/update-db <

curl : 无法分析响应内容,因为 Internet Explorer 引擎不可用,或者 Internet Explorer 的首次启动配
置不完整。请指定 UseBasicParsing 参数,然后再试一次。
所在位置 行:1 字符: 1

  • curl http://localhost:7456/update-db
  •   + CategoryInfo          : NotImplemented: (:) [Invoke-WebRequest], NotSupportedException    
      + FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Command  
     s.InvokeWebRequestCommand
    
    

终端进程“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command curl http://localhost:7456/update-db”已终止,退出代码: 1。

终端将被任务重用,按任意键关闭。

出现这个问题 不会解决啊

vscode编译官方管都不管了,我都一年没用过vscode编译了

那你用啥编译,VScode js智能提示不了代码 好难用 :joy:

js都没有提示啊

在tasks.json 中的args数组在添加一个字符串 “-UseBasicParsing”

2赞

出现 Enter proxy password for user ‘seBasicParsing’: 该输入什么?

1赞

哈哈哈 我也是