今天遇到這樣一個(gè)問題,打開vscode終端,提示我:
image
那么就是要改變終端的路徑是吧,感覺用everything 搜索powershell.exe,拷貝路徑:C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
打開vscode, 點(diǎn)擊文件->首選項(xiàng)->設(shè)置,
image
image
找到圖中的地址上祈,替換成C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe即可。