Skip to content

Could not start languaje service. Source: Powershell (Extension) #3238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dgomez-ancert opened this issue Mar 11, 2021 · 2 comments
Closed
Labels
Resolution-Duplicate Will close automatically.

Comments

@dgomez-ancert
Copy link

Issue Type: Bug

The powershell extension don't work correctly (formatter, highlighting, etc.).

11/3/2021 17:54:10 [NORMAL] - Visual Studio Code v1.54.1 64-bit
11/3/2021 17:54:10 [NORMAL] - PowerShell Extension v2021.2.2
11/3/2021 17:54:10 [NORMAL] - Operating System: Windows 64-bit
11/3/2021 17:54:10 [NORMAL] - Language server starting --
11/3/2021 17:54:10 [NORMAL] - PowerShell executable: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
11/3/2021 17:54:10 [NORMAL] - PowerShell args: -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command Import-Module 'c:\Users\dgomez.vscode\extensions\ms-vscode.powershell-2021.2.2\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2021.2.2' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:\Users\dgomez.vscode\extensions\ms-vscode.powershell-2021.2.2\modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====
' -LogLevel 'Normal' -LogPath 'c:\Users\dgomez.vscode\extensions\ms-vscode.powershell-2021.2.2\logs\1615481650-f904606f-61e9-4522-b52e-3bb5c0d2739f1615481649212\EditorServices.log' -SessionDetailsPath 'c:\Users\dgomez.vscode\extensions\ms-vscode.powershell-2021.2.2\sessions\PSES-VSCode-3904-731591' -FeatureFlags @()
11/3/2021 17:54:10 [NORMAL] - PowerShell Editor Services args: Import-Module 'c:\Users\dgomez.vscode\extensions\ms-vscode.powershell-2021.2.2\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2021.2.2' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:\Users\dgomez.vscode\extensions\ms-vscode.powershell-2021.2.2\modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====
' -LogLevel 'Normal' -LogPath 'c:\Users\dgomez.vscode\extensions\ms-vscode.powershell-2021.2.2\logs\1615481650-f904606f-61e9-4522-b52e-3bb5c0d2739f1615481649212\EditorServices.log' -SessionDetailsPath 'c:\Users\dgomez.vscode\extensions\ms-vscode.powershell-2021.2.2\sessions\PSES-VSCode-3904-731591' -FeatureFlags @()
11/3/2021 17:54:10 [NORMAL] - powershell.exe started.
11/3/2021 17:54:10 [NORMAL] - Waiting for session file
11/3/2021 17:54:12 [NORMAL] - Session file found
11/3/2021 17:54:12 [NORMAL] - Registering terminal close callback
11/3/2021 17:54:12 [NORMAL] - Registering terminal PID log callback
11/3/2021 17:54:12 [NORMAL] - powershell.exe PID: 3096
11/3/2021 17:54:12 [NORMAL] - Language server started.
11/3/2021 17:54:12 [NORMAL] - {"status":"started","languageServiceTransport":"NamedPipe","languageServicePipeName":"\\.\pipe\PSES_3me215xr.i1x","debugServiceTransport":"NamedPipe","debugServicePipeName":"\\.\pipe\PSES_ejur3oeb.aq2"}
11/3/2021 17:54:12 [NORMAL] - Connecting to language service on pipe \.\pipe\PSES_3me215xr.i1x...
11/3/2021 17:54:12 [NORMAL] - Language service connected.
11/3/2021 17:54:12 [ERROR] - Could not start language service:
11/3/2021 17:54:12 [ERROR] - Error: Connection to server got closed. Server will not be restarted.

Extension version: 2021.2.2
VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:38:31.419Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.78GB (8.48GB free)
Process Argv --crash-reporter-id e1f1ed49-b62a-4942-ad48-957f72504923
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244cf:30256637
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubset:30270708
pythontbcf:30265426
vspre833cf:30267465

@ghost ghost added the Needs: Triage Maintainer attention needed! label Mar 11, 2021
@andyleejordan andyleejordan added the Resolution-Duplicate Will close automatically. label Mar 11, 2021
@andyleejordan
Copy link
Member

Duplicate of #3227. New VS Code version 1.54.2 will be released today, resolving this.

@ghost
Copy link

ghost commented Mar 12, 2021

This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes.

@ghost ghost closed this as completed Mar 12, 2021
@SydneyhSmith SydneyhSmith removed the Needs: Triage Maintainer attention needed! label May 4, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Will close automatically.
Projects
None yet
Development

No branches or pull requests

3 participants