VScode与WSL连接“与终端pty主机进程的连接无响应,终端可能停止工作。”

问题描述 投票:0回答:3

我在 Windows 10 上安装了

wsl 2
,并且已将
VScode
wsl
连接。很多时候,当我在
gatsby
环境中运行
VScode
应用程序时。我收到错误:
wsl

我已禁用并卸载了许多 
The connection to the terminal's pty host process is unresponsive, the terminals may stop working.

扩展,进行了

VScode
更新并拥有最新版本的
BIOS
,但问题仍然存在。
    

visual-studio-code windows-subsystem-for-linux pty
3个回答
0
投票
VScode

来源:

与终端 pty 主机进程的连接变得无响应


0
投票
https://github.com/microsoft/vscode-remote-release/issues/7964

我通过卸载1.79版本并安装1.78.2解决了这个问题。 它对我有用,但如果不适合你,请继续降级。我相信原来的问题在1.76版本中已经解决了


-2
投票
在终端中运行
    terminal.integrated.terminal.integrated.windowsEnableConpty
  1. flutter clean
  2. VSCode
    奔跑
  3. Restart
  4. 
    
  5. 重复

© www.soinside.com 2019 - 2024. All rights reserved.