简体   繁体   中英

The Terminal Process "Terminated With Exit Code 2"

my terminal keeps shutting down after a few minutes, I cant use react due to this.

The Terminal Process "Terminated With Exit Code 2"

Found A Solution!

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.

now instead of using the main terminal from the vs code, open up the windows terminal,

Windows Terminal

cd and paste the directory, (you can do it by dragging the folder) 

and now you can access the terminal from here, and it won't shut down.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM