打开 WSL 远程 window 不工作 - 找不到命令 wslpath
Opening WSL remote window not working - command wslpath not found
尝试打开新的 Remote-WSL 时 window 我 运行 在 "Installing VS Code Server in WSL (details): Installing WSL components" 步骤中出错。似乎找不到 wslpath 命令。
我已经尝试查看我的 PATH 变量,但我在那里的任何地方都没有看到 wslpath,也不知道该路径应该是什么样子?我也尝试重新安装我的 linux 发行版,但这没有帮助。
[2019-07-09 12:23:39.266] Launching C:\Windows\System32\wsl.exe bash -c "'$(wslpath -u 'c:/Users/laida/.vscode/extensions/ms-vscode-remote.remote-wsl-0.38.8/scripts/wslServer.sh')' '0f3794b38477eea13fb47fbe15a42798e6129338' 'stable' '.vscode-server' 'C:/Users/laida/AppData/Local/Temp/vscode-remote-wsl/0f3794b38477eea13fb47fbe15a42798e6129338/vscode-server-linux-x64.tar.gz' 0 " in c:\Users\laida\.vscode\extensions\ms-vscode-remote.remote-wsl-0.38.8
[2019-07-09 12:23:39.562] /bin/bash: wslpath: command not found
[2019-07-09 12:23:39.562] bash: : command not found
[2019-07-09 12:25:10.024] VS Code Server for WSL failed to start. No messages received for 90s
我今天在启动 Remote - WSL 时才 运行 进入这个。如@Biswapriyo 所述,我使用的是较旧的 Windows 10 版本,因此我通过从 https://github.com/laurent22/wslpath 安装 wslpath 来解决它
(注意:我还必须安装 php 才能工作)。
之后我就可以启动 Remote - WSL
我想安装更新的 Windows 10 版本可能也能正常工作,但我无法做到这一点(托管图像),即使我能够做到,这也有点像用大锤杀死蚂蚁。
尝试打开新的 Remote-WSL 时 window 我 运行 在 "Installing VS Code Server in WSL (details): Installing WSL components" 步骤中出错。似乎找不到 wslpath 命令。
我已经尝试查看我的 PATH 变量,但我在那里的任何地方都没有看到 wslpath,也不知道该路径应该是什么样子?我也尝试重新安装我的 linux 发行版,但这没有帮助。
[2019-07-09 12:23:39.266] Launching C:\Windows\System32\wsl.exe bash -c "'$(wslpath -u 'c:/Users/laida/.vscode/extensions/ms-vscode-remote.remote-wsl-0.38.8/scripts/wslServer.sh')' '0f3794b38477eea13fb47fbe15a42798e6129338' 'stable' '.vscode-server' 'C:/Users/laida/AppData/Local/Temp/vscode-remote-wsl/0f3794b38477eea13fb47fbe15a42798e6129338/vscode-server-linux-x64.tar.gz' 0 " in c:\Users\laida\.vscode\extensions\ms-vscode-remote.remote-wsl-0.38.8
[2019-07-09 12:23:39.562] /bin/bash: wslpath: command not found
[2019-07-09 12:23:39.562] bash: : command not found
[2019-07-09 12:25:10.024] VS Code Server for WSL failed to start. No messages received for 90s
我今天在启动 Remote - WSL 时才 运行 进入这个。如@Biswapriyo 所述,我使用的是较旧的 Windows 10 版本,因此我通过从 https://github.com/laurent22/wslpath 安装 wslpath 来解决它 (注意:我还必须安装 php 才能工作)。 之后我就可以启动 Remote - WSL 我想安装更新的 Windows 10 版本可能也能正常工作,但我无法做到这一点(托管图像),即使我能够做到,这也有点像用大锤杀死蚂蚁。