VScode connected with WSL "The connection to the terminal's pty host process is unresponsive, the terminals may stop working."

Viewed 3515

I have wsl 2 installed on windows 10 and I have connected VScode with wsl. Many times when I run a gatsby app in VScode with the wsl environment. I get the error:

The connection to the terminal's pty host process is unresponsive, the terminals may stop working. 

I have disabled and uninstalled many VScode extensions, did a BIOS update and have the latest version of VScode but the problem stays the same.

1 Answers
  1. Run flutter clean in terminal
  2. Restart VSCode
  3. Run flutter get package

Repeat

Related