简体   繁体   English

VS CODE 终端未打开显示错误终端进程无法启动

[英]VS CODE terminal is not opening showing error The terminal process failed to launch

I have a brand new laptop and install vs code in it but when I try to open the terminal in vs code it shows the following error as a notification like this .我有一台全新的笔记本电脑并在其中安装了 vs code,但是当我尝试在 vs code 中打开终端时,它会显示以下错误作为这样的通知。

The terminal process failed to launch: Path to shell executable "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" does not exist.

I had tried to change some settings.json in vs code, but nothing works for me.我曾尝试在 vs 代码中更改一些 settings.json,但对我没有任何作用。 please help me to start terminal in vs code.请帮助我在 vs 代码中启动终端。

The screenshot shows your environment is OSx.屏幕截图显示您的环境是 OSx。 Install Powershell Core for OSx and configure VSCode to use it. 为 OSx 安装 Powershell Core配置 VSCode以使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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