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.