Skip to content

Powershell language extension fails to start #2066

@oliviermasson

Description

@oliviermasson

Hello Team,

Powershell extension fails to start
Here are the output:

04/07/2019 09:57:30 [NORMAL] - Visual Studio Code v1.36.0 64-bit
04/07/2019 09:57:30 [NORMAL] - PowerShell Extension v2019.5.0
04/07/2019 09:57:30 [NORMAL] - Operating System: Windows 64-bit
04/07/2019 09:57:30 [NORMAL] - Language server starting --
04/07/2019 09:57:30 [NORMAL] -     exe: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
04/07/2019 09:57:30 [NORMAL] -     args: c:\Users\masson\.vscode\extensions\ms-vscode.powershell-2019.5.0\modules\PowerShellEditorServices\Start-EditorServices.ps1 -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2019.5.0' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:\Users\masson\.vscode\extensions\ms-vscode.powershell-2019.5.0\modules' -EnableConsoleRepl -LogLevel 'Normal' -LogPath 'c:\Users\masson\.vscode\extensions\ms-vscode.powershell-2019.5.0\logs\1562227050-53d91bb9-5b9e-4ea0-a715-20c07afa13ae1562226448387\EditorServices.log' -SessionDetailsPath 'c:\Users\masson\.vscode\extensions\ms-vscode.powershell-2019.5.0\sessions\PSES-VSCode-16916-543076' -FeatureFlags @()
04/07/2019 09:57:35 [NORMAL] - powershell.exe started, pid: 18260
04/07/2019 09:59:30 [NORMAL] - Language server startup failed.
04/07/2019 09:59:30 [ERROR] - The language service could not be started: 
04/07/2019 09:59:30 [ERROR] - Timed out waiting for session file to appear.

I'm using the following Powershell env:

Name                           Value
----                           -----
PSVersion                      5.1.17134.765
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17134.765
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

I've tried unsuccessfully uninstall and reinstall the powershell extension

Thanks for you help

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions