Resolver error: Error: The VS Code Server failed to start(VScode服务器启动失败)2024.2

服务器 0

现在是2024年2月4日,对应的最新vscode版本1.8.6,如果出现报错

[08:47:47.084] Resolver error: Error: The VS Code Server failed to start	at Function.ServerInstallError (c:/Users/mrevow/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:1:64207)	at c:/Users/mrevow/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:1:62459	at Object.t.handleInstallOutput (c:/Users/mrevow/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:1:63061)	at I (c:/Users/mrevow/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:1:311112)	at processTicksAndRejections (internal/process/task_queues.js:94:5)	at async c:/Users/mrevow/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:1:309029	at async Object.t.withShowDetailsEvent (c:/Users/mrevow/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:1:403706)	at async Object.t.resolve (c:/Users/mrevow/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:1:312426)	at async c:/Users/mrevow/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:127:110280[08:47:47.087] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"ExitCode","exitCodeLabel":"ServerFailedToStart","osReleaseId":"ubuntu","arch":"x86_64","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","remoteInConfigFile":"1","gotUnrecognizedPrompt":"0","dynamicForwarding":"1","localServer":"0"},"measures":{"resolveAttempts":1,"exitCode":32,"retries":1,"timing.totalResolveTime":5832,"timing.preSshTime":4790,"timing.establishSshTime":986,"timing.scriptTime":1040}}[08:47:47.089] ------ [08:47:47.799] "install" terminal command done[08:47:47.799] Install terminal quit with output:

报错信息:Resolver error: Error: The VS Code Server failed to start
且尝试了网上各种方法解决不了的

可以回退到1.8.5版本!!!

参考链接:https://stackoverflow.com/questions/67976875/vs-code-remote-ssh-the-vscode-server-failed-to-start-ssh

stackoverflow一下子解决了,白浪费了我一上午

也许您对下面的内容还感兴趣: