I am trying to run my Next.js project in VSC. However, the terminal abruptly closes after a few minutes and gives the following error message.

I tried re-installing VSC but it didn't help. What should I do ? I am currently running Windows 11.
I don't really have a perfect fix for the problem, but here's what you can do,
install Windows Terminal; a terminal emulator that you can get on the Microsoft store.
Windows Terminal
and now you can access the terminal from here, and it won't shut down.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With