microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.61k stars 29.03k forks source link

Typescript language server crashed with TS version 4.5.4 #213467

Closed magnattic closed 4 months ago

magnattic commented 4 months ago

Type: Bug

TS output:

024-05-25 17:14:10.789 [info] Starting TS Server 2024-05-25 17:14:10.789 [info] Using tsserver from: /home/magnattic/code/work/myproject/.yarn/sdks/typescript/lib/tsserver.js 2024-05-25 17:14:10.789 [info] Forking... 2024-05-25 17:14:10.789 [info] Starting... 2024-05-25 17:14:10.789 [info] Forking... 2024-05-25 17:14:10.789 [info] Starting... 2024-05-25 17:14:11.352 [error] TSServer exited. Code: 1. Signal: null

VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 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|AMD Ryzen 7 PRO 6850U with Radeon Graphics (16 x 2695)| |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)|30.77GB (15.17GB free)| |Process Argv|--folder-uri vscode-remote://wsl%2Bubuntu/home/magnattic/code/work/scortex/isg-sales-vite --crash-reporter-id 3ce486a8-ef14-4ca4-9b8b-475d7be31372| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.146.1-microsoft-standard-WSL2| |CPUs|AMD Ryzen 7 PRO 6850U with Radeon Graphics (16 x 2694)| |Memory (System)|15.01GB (12.82GB free)| |VM|0%|
Extensions (57) Extension|Author (truncated)|Version ---|---|--- codespaces|Git|1.16.22 remotehub|Git|0.62.0 gitpod-desktop|git|0.0.164 vscode-graphql-syntax|Gra|1.3.6 easy-snippet|inu|0.7.5 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 remote-repositories|ms-|0.40.0 svg-preview|Sim|2.8.3 vscode-zipfs|arc|3.0.0 tailwind-docs|aus|2.1.0 markdown-preview-github-styles|bie|2.0.4 biome|bio|2.2.2 vscode-tailwindcss|bra|0.10.5 npm-intellisense|chr|1.4.5 path-intellisense|chr|2.8.5 vscode-css-modules|cli|0.5.1 vscode-eslint|dba|2.4.4 githistory|don|0.6.20 gitlens|eam|15.0.4 EditorConfig|Edi|0.16.4 prettier-vscode|esb|10.4.0 vscode-open-in-npm|fab|2.1.0 figma-vscode-extension|fig|0.3.5 lintlens|ghm|7.5.0 copilot|Git|1.195.0 copilot-chat|Git|0.15.2024043005 vscode-github-actions|git|0.26.2 vscode-pull-request-github|Git|0.88.1 vscode-graphql|Gra|0.9.3 vscode-graphql-execution|Gra|0.2.6 vscode-graphql-syntax|Gra|1.3.6 npm-dependency-links|her|1.2.0 path-autocomplete|ion|1.25.0 vscode-vitest-runner|kin|0.0.4 i18n-ally|lok|2.12.0 vscode-github-actions|me-|3.0.1 git-graph|mhu|1.30.0 vscode-scss|mrm|0.10.0 vscode-docker|ms-|1.29.1 playwright|ms-|1.1.6 vsliveshare|ms-|1.0.5918 vscode-versionlens|pfl|1.10.0 prisma|Pri|5.14.0 vscode-xml|red|0.26.1 vscode-yaml|red|1.14.0 vscode-sort-json|ric|1.20.0 markdown-preview-enhanced|shd|0.8.13 vscode-zipexplorer|sle|0.3.1 stately-vscode|sta|2.1.0 vscode-stylelint|sty|1.4.0 vscode-sort-package-json|uni|1.5.2 explorer|vit|0.10.7 vscode-mdx-preview|xyc|0.3.3 pretty-ts-errors|Yoa|0.5.4
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 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 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 chatpanelc:31048052 dsvsc021:30996838 01bff139:31013167 pythoncenvptcf:31049071 a69g1124:31058053 pythonprt:31056678 dwnewjupytercf:31046870 26j00206:31048877 ```
mjbvz commented 4 months ago

This is caused by yarn patching VS Code's TS version. Please feel an issue against them