question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Language Service Startup Failure

See original GitHub issue

Issue Type: Bug

I get the following error as soon as I install the Powershell Module. I’ve tried the other remediations with this issue before but they didn’t help resolve the issue:

8/11/2020 3:38:29 PM [NORMAL] - Visual Studio Code v1.47.3 64-bit
8/11/2020 3:38:29 PM [NORMAL] - PowerShell Extension v2020.6.0
8/11/2020 3:38:29 PM [NORMAL] - Operating System: Windows 64-bit
8/11/2020 3:38:29 PM [NORMAL] - Language server starting --
8/11/2020 3:38:29 PM [NORMAL] -     PowerShell executable: C:\Users\USERNAME\.dotnet\tools\pwsh.exe
8/11/2020 3:38:29 PM [NORMAL] -     PowerShell args: -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command Import-Module 'c:\Users\USERNAME\.vscode\extensions\ms-vscode.powershell-2020.6.0\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2020.6.0' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:\Users\USERNAME\.vscode\extensions\ms-vscode.powershell-2020.6.0\modules' -EnableConsoleRepl -StartupBanner "=====> PowerShell Integrated Console v2020.6.0 <=====
" -LogLevel 'Normal' -LogPath 'c:\Users\USERNAME\.vscode\extensions\ms-vscode.powershell-2020.6.0\logs\1597185509-1cd41081-ba13-46ce-a521-04fac2c8e3641597185490324\EditorServices.log' -SessionDetailsPath 'c:\Users\USERNAME\.vscode\extensions\ms-vscode.powershell-2020.6.0\sessions\PSES-VSCode-39288-708804' -FeatureFlags @() 
8/11/2020 3:38:29 PM [NORMAL] -     PowerShell Editor Services args: Import-Module 'c:\Users\USERNAME\.vscode\extensions\ms-vscode.powershell-2020.6.0\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2020.6.0' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:\Users\USERNAME\.vscode\extensions\ms-vscode.powershell-2020.6.0\modules' -EnableConsoleRepl -StartupBanner "=====> PowerShell Integrated Console v2020.6.0 <=====
" -LogLevel 'Normal' -LogPath 'c:\Users\USERNAME\.vscode\extensions\ms-vscode.powershell-2020.6.0\logs\1597185509-1cd41081-ba13-46ce-a521-04fac2c8e3641597185490324\EditorServices.log' -SessionDetailsPath 'c:\Users\USERNAME\.vscode\extensions\ms-vscode.powershell-2020.6.0\sessions\PSES-VSCode-39288-708804' -FeatureFlags @() 
8/11/2020 3:38:29 PM [NORMAL] - pwsh.exe started.
8/11/2020 3:38:29 PM [NORMAL] - Waiting for session file
8/11/2020 3:42:30 PM [NORMAL] - Timed out waiting for session file to appear.
8/11/2020 3:42:30 PM [NORMAL] - Language server startup failed.
8/11/2020 3:42:30 PM [ERROR] - The language service could not be started: 
8/11/2020 3:42:30 PM [ERROR] - Error: Timed out waiting for session file to appear.

Extension version: 2020.6.0 VS Code version: Code 1.47.3 (91899dcef7b8110878ea59626991a18c8a6a1b3e, 2020-07-23T13:12:49.994Z) OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel® Core™ i7-6700K CPU @ 4.00GHz (8 x 4008)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.92GB (20.65GB free)
Process Argv
Screen Reader no
VM 0%

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
rjmholtcommented, Aug 12, 2020

When I tried to install that extension it threw this:

You’re running it with Visual Studio’s VSIX installer. You need to install it with VSCode’s.

In the command line: code --install-extension ./path/to/PowerShell-Insiders.vsix

1reaction
rjmholtcommented, Aug 12, 2020

But in the console, which is to say the terminal, what do you see?

Can you try the extension build from https://github.com/PowerShell/vscode-powershell/issues/2719#issuecomment-671676720

Read more comments on GitHub >

github_iconTop Results From Across the Web

Language server startup failed · Issue #2417 - GitHub
Issue Description PS session fails to start with these errors. I have taken the cert from Start-EditorServices.ps1 and imported into my ...
Read more >
UT Startup Hopes to Remove Language Barriers With Peer ...
Although there are many translation services currently on the market, many are inefficient, inaccurate and noncompliant.
Read more >
Translation Platform Fluently.io Runs Out of Cash, Closes Down
London-based translation platform Fluently is closing shop. The company ran out of cash after it failed to secure follow-up funding to a ...
Read more >
Windows 10 - Language Pack Download & Install failed
Hi, I was downloading the language pack "English (United States) Language Pack - Windows 10 for x64-systems - (KB3079343) [en-US_LP]" and it failed...
Read more >
"Data Preparation Service startup failure issue" when ... - ERROR
For configuring Informatica Data Lake Service, you need to first configure the Data Preparation Service, and when trying to configure and start ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found