Skip to content

TS language server crashing repeatedly #213836

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
j-wing opened this issue May 29, 2024 · 5 comments
Closed

TS language server crashing repeatedly #213836

j-wing opened this issue May 29, 2024 · 5 comments
Assignees
Labels
upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@j-wing
Copy link

j-wing commented May 29, 2024

Type: Bug

Unfortunately I don't know. It seems to happen anytime I start VS code now. It began recently (~this week).

VS Code version: Code 1.89.1 (dc96b83, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.71GB (11.07GB free)
Process Argv --crash-reporter-id 8eebaa76-afb0-459d-a5a3-53b28a790d1f
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.15.146.1-microsoft-standard-WSL2
CPUs 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)
Memory (System) 15.48GB (12.71GB free)
VM 0%
Extensions (37)
Extension Author (truncated) Version
Handlebars and 0.4.1
gotemplate cas 0.5.0
jupyter-keymap ms- 1.1.2
remote-ssh ms- 0.110.1
remote-ssh-edit ms- 0.86.0
remote-wsl ms- 0.88.2
remote-explorer ms- 0.4.3
mdx sil 0.1.1
rewrap stk 1.16.3
pdf tom 1.2.2
vim vsc 1.27.3
vscode-tailwindcss bra 0.10.5
firecode ChF 1.3.0
vscode-eslint dba 2.4.4
gitlens eam 15.0.4
prettier-vscode esb 10.4.0
figma-vscode-extension fig 0.3.5
copilot Git 1.196.0
copilot-chat Git 0.15.2
vscode-github-actions git 0.26.2
vscode-pull-request-github Git 0.88.1
gti-vscode Gra 0.6.1
vscode-github Kni 0.30.7
reflow-markdown mar 2.1.0
black-formatter ms- 2024.2.0
debugpy ms- 2024.6.0
isort ms- 2023.10.1
python ms- 2024.6.0
vscode-pylance ms- 2024.5.1
jupyter ms- 2024.4.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.17
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
vscode-jest Ort 6.2.5
vs-code-prettier-eslint rve 6.0.0
gitblame wad 11.0.0
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
666c4381:30973075
chatpanelc:31048052
dsvsc021:30996838
f3je6385:31013174
pythoncenvpt:31049070
a69g1124:31058053
dvdeprecationcf:31061161
pythonprt:31056678
dwnewjupyter:31046869
26j00206:31048877

@mjbvz
Copy link
Collaborator

mjbvz commented May 29, 2024

Are you using yarn?

@j-wing
Copy link
Author

j-wing commented May 29, 2024

I am, yarn v1.22.19

@mjbvz
Copy link
Collaborator

mjbvz commented May 29, 2024

Thanks. This is caused by Yarn

Here's the upstream issue that also mentioned possible workarounds until it is fixed: yarnpkg/berry#6270

@mjbvz mjbvz closed this as completed May 29, 2024
@mjbvz mjbvz added the upstream-issue-linked This is an upstream issue that has been reported upstream label May 29, 2024
@j-wing
Copy link
Author

j-wing commented May 30, 2024

Thanks @mjbvz! Unfortunately neither of the mitigations in that issue helped (unless I'm doing that wrong, which is possible. I'm using TS 4.9.5 and added the relevant setting to settings.json (attached). Any advice for further debugging I can do to figure out why the mitigations don't work?

image
settings.json

@mjbvz
Copy link
Collaborator

mjbvz commented May 30, 2024

TS 4.9.5

This is an out of date TS version. Make sure to update to the latest stable release (5.4.5) to get all the most recent fixes

@microsoft microsoft locked and limited conversation to collaborators Jul 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

2 participants