问题:

VS Code配置并连接远程服务器报错,Error: Running the contributed command: '_workbench.downloadResource' failed

原因:

内网,无法下载

解决:

找到报错日志里面的COMMIT_ID

2aeda6b18e13c4f4f9edf6667158a6b8d408874b

外网下载

https://update.code.visualstudio.com/commit:2aeda6b18e13c4f4f9edf6667158a6b8d408874b/server-linux-x64/stable

下载完毕后,将下载的文件upload到Remote Server的~/.vscode-server/bin/xxx文件夹下,同时删除其他文件,最后再使用tar -xvf vscode-server-linux-x64.tar.gz --strip-components 1解压文件

相关文章:

  • 2021-09-26
  • 2021-12-19
  • 2021-10-19
  • 2021-06-10
  • 2021-04-26
  • 2021-05-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案