For*_*700 1 visual-studio-code vscode-remote
我查看了与我类似的问题,但似乎没有一个能解决我的问题。它返回一个提示,显示Could not establish connection to "hostname": The VS Code Server failed to start.当我使用命令ssh pi@raspberrypi并输入密码时,一切似乎都正常。
我的电脑:Windows 11
远程计算机:Raspbian 操作系统
该server.sh文件似乎已损坏,但我不知道该文件应该是什么样子:
#!/usr/bin/env sh
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
case "$1" in
--inspect*) INSPECT="$1"; shift;;
esac
ROOT="$(dirname "$0")"
"$ROOT/node" ${INSPECT:-} "$ROOT/out/server-main.js" --compatibility=1.63 "$@"
Run Code Online (Sandbox Code Playgroud)
这是远程计算机上的日志文件:
/home/pi/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/bin/code-server: 12: /home/pi/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/bin/code-server: /home/pi/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node: not found
Run Code Online (Sandbox Code Playgroud)
小智 12
| 归档时间: |
|
| 查看次数: |
11319 次 |
| 最近记录: |