我无法在vscode中加载PowerShell,我不知道还能做什么。当我尝试加载powershell时,它每次都会失败,并且语法服务无法启动时出现以下错误。我搜索得很远,我找不到任何东西。我的同事之前没有见过这个,我有另一台笔记本电脑(赢7),这不是问题。问题出在我的Win 10 Pro核心i7笔记本电脑上。以前看过这个的人,知道怎么解决吗?
错误
[19:59:40] Language server starting...
powershell.exe started --
pid: 8808
exe: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
args: C:\Users\Jones'\.vscode\extensions\ms-vscode.powershell-1.4.1\scripts\Start-EditorServices.ps1
-EditorServicesVersion '1.4.1'
-HostName 'Visual Studio Code Host'
-HostProfileId 'Microsoft.VSCode'
-HostVersion '1.4.1'
-AdditionalModules @('PowerShellEditorServices.VSCode')
-BundledModulesPath 'C:\Users\Jones'\.vscode\extensions\ms-vscode.powershell-1.4.1\modules' -EnableConsoleRepl -LogLevel 'Normal'
-LogPath 'C:\Users\Jones'\.vscode\extensions\ms-vscode.powershell-1.4.1\logs\1503622780-5c7d3509-a90b-4797-841e-06b87d9b62ec1503622776726\EditorServices.log'
-SessionDetailsPath 'C:\Users\Jones'\.vscode\extensions\ms-vscode.powershell-1.4.1\sessions\PSES-VSCode-6112-731972' -FeatureFlags @()
powershell.exe terminated or terminal UI was closed
[20:0:40] Language server startup failed.
The language service could not be started:
Timed out waiting for session file to appear.