Vscode-powershell: Could not start language service

Created on 5 Mar 2021  路  22Comments  路  Source: PowerShell/vscode-powershell

Issue Type: Bug

When starting Visual Studio Code the powershell extension try to start but abort with "Could not start language service". The log is as following:
5.3.2021 13:02:09 [NORMAL] - Visual Studio Code v1.54.1 64-bit
5.3.2021 13:02:09 [NORMAL] - PowerShell Extension v2021.2.2
5.3.2021 13:02:09 [NORMAL] - Operating System: Windows 64-bit
5.3.2021 13:02:09 [NORMAL] - Language server starting --
5.3.2021 13:02:09 [NORMAL] - PowerShell executable: C:WindowsSystem32WindowsPowerShellv1.0powershell.exe
5.3.2021 13:02:09 [NORMAL] - PowerShell args: -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command Import-Module 'c:UsersMichlerDetlef.vscodeextensionsms-vscode.powershell-2021.2.2modulesPowerShellEditorServicesPowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2021.2.2' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:UsersMichlerDetlef.vscodeextensionsms-vscode.powershell-2021.2.2modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====
' -LogLevel 'Normal' -LogPath 'c:UsersMichlerDetlef.vscodeextensionsms-vscode.powershell-2021.2.2logs1614945729-5a0d4503-6a39-4dec-aeb3-72c88f85c95e1614945727555EditorServices.log' -SessionDetailsPath 'c:UsersMichlerDetlef.vscodeextensionsms-vscode.powershell-2021.2.2sessionsPSES-VSCode-19924-563080' -FeatureFlags @()
5.3.2021 13:02:09 [NORMAL] - PowerShell Editor Services args: Import-Module 'c:UsersMichlerDetlef.vscodeextensionsms-vscode.powershell-2021.2.2modulesPowerShellEditorServicesPowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2021.2.2' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:UsersMichlerDetlef.vscodeextensionsms-vscode.powershell-2021.2.2modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====
' -LogLevel 'Normal' -LogPath 'c:UsersMichlerDetlef.vscodeextensionsms-vscode.powershell-2021.2.2logs1614945729-5a0d4503-6a39-4dec-aeb3-72c88f85c95e1614945727555EditorServices.log' -SessionDetailsPath 'c:UsersMichlerDetlef.vscodeextensionsms-vscode.powershell-2021.2.2sessionsPSES-VSCode-19924-563080' -FeatureFlags @()
5.3.2021 13:02:09 [NORMAL] - powershell.exe started.
5.3.2021 13:02:09 [NORMAL] - Waiting for session file
5.3.2021 13:02:11 [NORMAL] - Session file found
5.3.2021 13:02:11 [NORMAL] - Registering terminal close callback
5.3.2021 13:02:11 [NORMAL] - Registering terminal PID log callback
5.3.2021 13:02:11 [NORMAL] - powershell.exe PID: 16004
5.3.2021 13:02:11 [NORMAL] - Language server started.
5.3.2021 13:02:11 [NORMAL] - {"status":"started","languageServiceTransport":"NamedPipe","languageServicePipeName":"\\.\pipe\PSES_jpn22lfr.er0","debugServiceTransport":"NamedPipe","debugServicePipeName":"\\.\pipe\PSES_n4mtsiym.yhz"}
5.3.2021 13:02:11 [NORMAL] - Connecting to language service on pipe \.pipePSES_jpn22lfr.er0...
5.3.2021 13:02:11 [NORMAL] - Language service connected.
5.3.2021 13:02:12 [ERROR] - Could not start language service:
5.3.2021 13:02: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) i5-8250U CPU @ 1.60GHz (8 x 1800)|
|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)|7.83GB (0.97GB free)|
|Process Argv|--crash-reporter-id a0fe5d51-f6a9-4285-ba65-0257408f9258|
|Screen Reader|no|
|VM|0%|


A/B Experiments

vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt617cf:30253240
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubset:30265998
pythontb:30265425
vspre833cf:30267465

Resolution-External vscode-bug

Most helpful comment

We're planning on releasing 1.54.2 today

All 22 comments

Exact same thing happening for me with the latest powershell extension update. Here is my log:

3/5/2021 10:39:19 AM [NORMAL] - Visual Studio Code v1.54.0 64-bit
3/5/2021 10:39:19 AM [NORMAL] - PowerShell Extension v2021.2.2
3/5/2021 10:39:19 AM [NORMAL] - Operating System: Windows 64-bit
3/5/2021 10:39:19 AM [NORMAL] - Language server starting --
3/5/2021 10:39:19 AM [NORMAL] -     PowerShell executable: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
3/5/2021 10:39:19 AM [NORMAL] -     PowerShell args: -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command Import-Module 'c:\Users\matto\.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\matto\.vscode\extensions\ms-vscode.powershell-2021.2.2\modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====
' -LogLevel 'Normal' -LogPath 'c:\Users\matto\.vscode\extensions\ms-vscode.powershell-2021.2.2\logs\1614962359-710d82a9-cea9-4ef4-8d78-2cd8742aa14c1614962356429\EditorServices.log' -SessionDetailsPath 'c:\Users\matto\.vscode\extensions\ms-vscode.powershell-2021.2.2\sessions\PSES-VSCode-10172-964274' -FeatureFlags @() 
3/5/2021 10:39:19 AM [NORMAL] -     PowerShell Editor Services args: Import-Module 'c:\Users\matto\.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\matto\.vscode\extensions\ms-vscode.powershell-2021.2.2\modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====
' -LogLevel 'Normal' -LogPath 'c:\Users\matto\.vscode\extensions\ms-vscode.powershell-2021.2.2\logs\1614962359-710d82a9-cea9-4ef4-8d78-2cd8742aa14c1614962356429\EditorServices.log' -SessionDetailsPath 'c:\Users\matto\.vscode\extensions\ms-vscode.powershell-2021.2.2\sessions\PSES-VSCode-10172-964274' -FeatureFlags @() 
3/5/2021 10:39:19 AM [NORMAL] - powershell.exe started.
3/5/2021 10:39:19 AM [NORMAL] - Waiting for session file
3/5/2021 10:39:21 AM [NORMAL] - Session file found
3/5/2021 10:39:21 AM [NORMAL] - Registering terminal close callback
3/5/2021 10:39:21 AM [NORMAL] - Registering terminal PID log callback
3/5/2021 10:39:21 AM [NORMAL] - powershell.exe PID: 2640
3/5/2021 10:39:21 AM [NORMAL] - Language server started.
3/5/2021 10:39:21 AM [NORMAL] - {"status":"started","languageServiceTransport":"NamedPipe","languageServicePipeName":"\\\\.\\pipe\\PSES_afvvar1y.kya","debugServiceTransport":"NamedPipe","debugServicePipeName":"\\\\.\\pipe\\PSES_b24n44zr.plv"}
3/5/2021 10:39:21 AM [NORMAL] - Connecting to language service on pipe \\.\pipe\PSES_afvvar1y.kya...
3/5/2021 10:39:21 AM [NORMAL] - Language service connected.
3/5/2021 10:39:22 AM [ERROR] - Could not start language service: 
3/5/2021 10:39:22 AM [ERROR] - Error: Connection to server got closed. Server will not be restarted.

Not sure if this will help anyone else. But I was able to solve this by doing the following:

  1. Ensure there weren't two installs of VS Code installed. I for instance had a User version and the global system version both listed in Add/Remove Programs. I uninstalled the user only version so that all my local accounts would work fine with it.
  2. Uninstalling the user version wiped out the windows shell (Open in VS Code) shortcuts, so I downloaded the latest System X64 install of VS Code and re-installed it (latest version)

After I did that, the errors went away. Not sure if it was the VS Code reinstall that fixed it or what.

Correction, closed VS Code and re-opened another .ps1 file, and issue is back.

I'm seeing this similar issue on MacBook (macOS Big Sur 11.2.2) since updating yesterday to VSCode 1.54.1 (not certain if extension also updated at the same time, but it is v2021.2.2). Narrowed my problem down to the setting "workbench.startupEditor": "newUntitledFile". By setting this to "none" or "welcomePage" I do not see the issue. I can open .PS1 etc and the Integrated Console works fine. I am not seeing this issue on any of my Windows machines.

Me too. Windows 10, only a user installation of Visual Studio Code with previously open .ps1 files, problem also started after update to 1.5.4.1 and persisted through VS Code restarts. Uninstall and (user) reinstall seems to have cleared the issue.

Issue Type: Bug

Since the most recent VSCode update, PowerShell now fails to load at startup.

VSCode version

Version: 1.54.1 (user setup)
Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8
Date: 2021-03-04T22:38:31.419Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.19042

PowerShell startup logs

3/5/2021 6:09:39 PM [NORMAL] - Visual Studio Code v1.54.1 64-bit
3/5/2021 6:09:39 PM [NORMAL] - PowerShell Extension v2021.2.2
3/5/2021 6:09:39 PM [NORMAL] - Operating System: Windows 64-bit
3/5/2021 6:09:39 PM [NORMAL] - Language server starting --
3/5/2021 6:09:39 PM [NORMAL] -     PowerShell executable: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
3/5/2021 6:09:39 PM [NORMAL] -     PowerShell args: -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command Import-Module 'c:\Users\Work\.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\Work\.vscode\extensions\ms-vscode.powershell-2021.2.2\modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====
' -LogLevel 'Normal' -LogPath 'c:\Users\Work\.vscode\extensions\ms-vscode.powershell-2021.2.2\logs\1615000179-2421435c-f00a-4631-8137-216a2f9766e01615000169526\EditorServices.log' -SessionDetailsPath 'c:\Users\Work\.vscode\extensions\ms-vscode.powershell-2021.2.2\sessions\PSES-VSCode-13416-430208' -FeatureFlags @() 
3/5/2021 6:09:39 PM [NORMAL] -     PowerShell Editor Services args: Import-Module 'c:\Users\Work\.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\Work\.vscode\extensions\ms-vscode.powershell-2021.2.2\modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====
' -LogLevel 'Normal' -LogPath 'c:\Users\Work\.vscode\extensions\ms-vscode.powershell-2021.2.2\logs\1615000179-2421435c-f00a-4631-8137-216a2f9766e01615000169526\EditorServices.log' -SessionDetailsPath 'c:\Users\Work\.vscode\extensions\ms-vscode.powershell-2021.2.2\sessions\PSES-VSCode-13416-430208' -FeatureFlags @() 
3/5/2021 6:09:39 PM [NORMAL] - powershell.exe started.
3/5/2021 6:09:39 PM [NORMAL] - Waiting for session file
3/5/2021 6:09:41 PM [NORMAL] - Session file found
3/5/2021 6:09:41 PM [NORMAL] - Registering terminal close callback
3/5/2021 6:09:41 PM [NORMAL] - Registering terminal PID log callback
3/5/2021 6:09:41 PM [NORMAL] - powershell.exe PID: 21400
3/5/2021 6:09:41 PM [NORMAL] - Language server started.
3/5/2021 6:09:41 PM [NORMAL] - {"status":"started","languageServiceTransport":"NamedPipe","languageServicePipeName":"\\\\.\\pipe\\PSES_zxrkrteq.iku","debugServiceTransport":"NamedPipe","debugServicePipeName":"\\\\.\\pipe\\PSES_se3oujrs.ani"}
3/5/2021 6:09:41 PM [NORMAL] - Connecting to language service on pipe \\.\pipe\PSES_zxrkrteq.iku...
3/5/2021 6:09:41 PM [NORMAL] - Language service connected.
3/5/2021 6:09:42 PM [ERROR] - Could not start language service: 
3/5/2021 6:09:42 PM [ERROR] - Error: Connection to server got closed. Server will not be restarted.

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-4510U CPU @ 2.00GHz (4 x 1995)|
|GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.90GB (4.32GB free)|
|Process Argv|--crash-reporter-id e69e24da-8cea-4231-bfc0-80f4f0d6711b|
|Screen Reader|no|
|VM|0%|

Extensions (2)

Extension|Author (truncated)|Version
---|---|---
powershell|ms-|2021.2.2
code-settings-sync|Sha|3.4.3


A/B Experiments

vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspyt653:30253241
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstry914:30256638
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubsetcf:30265999
pythontb:30265425
vspre833:30267464

Hi There,

un- and reinstall Visual Studio Code solved the problem for me (W10).

Regards
Detlef Michler

Von: Jeff Bowman notifications@github.com
Gesendet: Sonntag, 7. M盲rz 2021 01:28
An: PowerShell/vscode-powershell vscode-powershell@noreply.github.com
Cc: IT it@bayernheim.de; Author author@noreply.github.com
Betreff: Re: [PowerShell/vscode-powershell] Could not start language service (#3227)

Issue Type: Bug

Since the most recent VSCode update, PowerShell now fails to load at startup.

VSCode version

Version: 1.54.1 (user setup)

Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8

Date: 2021-03-04T22:38:31.419Z

Electron: 11.3.0

Chrome: 87.0.4280.141

Node.js: 12.18.3

V8: 8.7.220.31-electron.0

OS: Windows_NT x64 10.0.19042

PowerShell startup logs

3/5/2021 6:09:39 PM [NORMAL] - Visual Studio Code v1.54.1 64-bit

3/5/2021 6:09:39 PM [NORMAL] - PowerShell Extension v2021.2.2

3/5/2021 6:09:39 PM [NORMAL] - Operating System: Windows 64-bit

3/5/2021 6:09:39 PM [NORMAL] - Language server starting --

3/5/2021 6:09:39 PM [NORMAL] - PowerShell executable: C:WINDOWSSystem32WindowsPowerShellv1.0powershell.exe

3/5/2021 6:09:39 PM [NORMAL] - PowerShell args: -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command Import-Module 'c:UsersWork.vscodeextensionsms-vscode.powershell-2021.2.2modulesPowerShellEditorServicesPowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2021.2.2' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:UsersWork.vscodeextensionsms-vscode.powershell-2021.2.2modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====

' -LogLevel 'Normal' -LogPath 'c:UsersWork.vscodeextensionsms-vscode.powershell-2021.2.2logs1615000179-2421435c-f00a-4631-8137-216a2f9766e01615000169526EditorServices.log' -SessionDetailsPath 'c:UsersWork.vscodeextensionsms-vscode.powershell-2021.2.2sessionsPSES-VSCode-13416-430208' -FeatureFlags @()

3/5/2021 6:09:39 PM [NORMAL] - PowerShell Editor Services args: Import-Module 'c:UsersWork.vscodeextensionsms-vscode.powershell-2021.2.2modulesPowerShellEditorServicesPowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2021.2.2' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:UsersWork.vscodeextensionsms-vscode.powershell-2021.2.2modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <=====

' -LogLevel 'Normal' -LogPath 'c:UsersWork.vscodeextensionsms-vscode.powershell-2021.2.2logs1615000179-2421435c-f00a-4631-8137-216a2f9766e01615000169526EditorServices.log' -SessionDetailsPath 'c:UsersWork.vscodeextensionsms-vscode.powershell-2021.2.2sessionsPSES-VSCode-13416-430208' -FeatureFlags @()

3/5/2021 6:09:39 PM [NORMAL] - powershell.exe started.

3/5/2021 6:09:39 PM [NORMAL] - Waiting for session file

3/5/2021 6:09:41 PM [NORMAL] - Session file found

3/5/2021 6:09:41 PM [NORMAL] - Registering terminal close callback

3/5/2021 6:09:41 PM [NORMAL] - Registering terminal PID log callback

3/5/2021 6:09:41 PM [NORMAL] - powershell.exe PID: 21400

3/5/2021 6:09:41 PM [NORMAL] - Language server started.

3/5/2021 6:09:41 PM [NORMAL] - {"status":"started","languageServiceTransport":"NamedPipe","languageServicePipeName":"\\.\pipe\PSES_zxrkrteq.iku","debugServiceTransport":"NamedPipe","debugServicePipeName":"\\.\pipe\PSES_se3oujrs.ani"}

3/5/2021 6:09:41 PM [NORMAL] - Connecting to language service on pipe \.pipePSES_zxrkrteq.iku...

3/5/2021 6:09:41 PM [NORMAL] - Language service connected.

3/5/2021 6:09:42 PM [ERROR] - Could not start language service:

3/5/2021 6:09:42 PM [ERROR] - Error: Connection to server got closed. Server will not be restarted.

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-4510U CPU @ 2.00GHz (4 x 1995)
GPU Status
2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg)
undefined
Memory (System)
15.90GB (4.32GB free)
Process Argv
--crash-reporter-id e69e24da-8cea-4231-bfc0-80f4f0d6711b
Screen Reader
no
VM
0%
Extensions (2)
Extension
Author (truncated)
Version
powershell
ms-
2021.2.2
code-settings-sync
Sha
3.4.3
A/B Experiments

vsliv368cf:30146710

vsreu685:30147344

python383:30185418

vspyt653:30253241

vspor879:30202332

vspor708:30202333

vspor363:30204092

vswsl492cf:30256860

vstry914:30256638

pythonvsdeb440:30248342

pythonvsded773:30248341

pythonvspyt875:30259475

dockersubsetcf:30265999

pythontb:30265425

vspre833:30267464

-
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPowerShell%2Fvscode-powershell%2Fissues%2F3227%23issuecomment-792129655&data=04%7C01%7Cdetlef.michler%40bayernheim.de%7C08c417e14b8640f5b69b08d8e0ffe5a9%7C79340ae4ba554d859ae0943d27f3d590%7C0%7C0%7C637506736979589488%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dYDTqBn9ZNgk20Yql6sy16WOp%2FPq4l4lFUHKNVgs9Uk%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAR7LZWVGXY5PXVQM3HL4XIDTCLCB3ANCNFSM4YVDE7BQ&data=04%7C01%7Cdetlef.michler%40bayernheim.de%7C08c417e14b8640f5b69b08d8e0ffe5a9%7C79340ae4ba554d859ae0943d27f3d590%7C0%7C0%7C637506736979599445%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2F5GANqrvJU7cl1ntWowEUAziUT8zHc7AbsBxunUw5vY%3D&reserved=0.

Hello again,

after restart Visual Studio Code the same error appears, so the problem isn't solved.

Regards
Detlef Michler

Von: xantari notifications@github.com
Gesendet: Freitag, 5. M盲rz 2021 17:42
An: PowerShell/vscode-powershell vscode-powershell@noreply.github.com
Cc: IT it@bayernheim.de; Author author@noreply.github.com
Betreff: Re: [PowerShell/vscode-powershell] Could not start language service (#3227)

Exact same thing happening for me with the latest powershell extension up.

-
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPowerShell%2Fvscode-powershell%2Fissues%2F3227%23issuecomment-791538747&data=04%7C01%7Cdetlef.michler%40bayernheim.de%7C84671367436c45df9b4308d8dff59758%7C79340ae4ba554d859ae0943d27f3d590%7C0%7C0%7C637505593191318645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JvUbOb4UeZVtzQB2BCfTDTvXSz5VONYvW6xo2iHXivo%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAR7LZWQAX2YJ7FWECGL23RTTCECVHANCNFSM4YVDE7BQ&data=04%7C01%7Cdetlef.michler%40bayernheim.de%7C84671367436c45df9b4308d8dff59758%7C79340ae4ba554d859ae0943d27f3d590%7C0%7C0%7C637505593191318645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2FTzfD%2F%2BvNmZZdQUOA%2FGweDxFePUwKN9TVSfdhoQnf%2Fo%3D&reserved=0.

I can confirm this happens with the zipped version of vscode 1.54.1 as well so it's not an uninstall/install issue. I am reverting back to 1.53 until this is resolved.

This is likely an issue in VS Code which will be fixed in the next recovery release. As a workaround, you can set this:

"powershell.integratedConsole.showOnStartup": false

That will give you language features (like intellisense and whatnot) but it won't show the PowerShell Integrated Console.

Here's the issue I'm thinking that's causing this: https://github.com/microsoft/vscode/issues/117649

I also expect restarting the server manually should fix the problem, if that's possible.

Yeah it's worth trying... hit the trash can and then Yes on the dialog that says "Do you want to restart the server"

@TylerLeonhardt

Pardon me... "trash can?"

image

The bin! The rubbish!

@TylerLeonhardt

If I could find that I'd feel a lot better 馃檪

image

on the right of the terminal

Funny... I looked everywhere but there.

@TylerLeonhardt

That seems to do the trick.

I'll still roll back to 1.53 at your request, though. Tomorrow.

At this point, you don't need to. You can if you want, but I think we know the issue.

OK, thanks.

Keep up the good work.

Could you give us a hint on when to expect this to be deployed? So I could decide whether to roll back or wait for a patch. Thank you in advance.

We're planning on releasing 1.54.2 today

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CJHarmath picture CJHarmath  路  3Comments

inthemedium picture inthemedium  路  3Comments

borisimple picture borisimple  路  3Comments

TheDanishDynamo picture TheDanishDynamo  路  3Comments

guidooliveira picture guidooliveira  路  3Comments