microsoft / vscode

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

TS Server permanently exits. #206670

Closed Bellian closed 6 months ago

Bellian commented 7 months ago

Type: Bug

My TS Server quits on my right after start every time with no apparent error. Just set up a turbo repo with a lib package, referenced this in an nest app and it crashes.

I need to restart the entire WSL and all VSCode instances to fix this.

Logs: Info 0 [11:03:46.218] Starting TS Server Info 1 [11:03:46.218] Version: 5.3.2 Info 2 [11:03:46.218] Arguments: /home/bellian/.vscode-server/bin/019f4d1419fbc8219a181fab7892ebccf7ee29a2/node /home/bellian/.vscode-server/bin/019f4d1419fbc8219a181fab7892ebccf7ee29a2/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /tmp/vscode-typescript1000/2b1ba1a1f109290fedd2/tscancellation-ffc20ee90713157db627.tmp* --logVerbosity verbose --logFile /home/bellian/.vscode-server/data/logs/20240301T113821/exthost6/vscode.typescript-language-features/tsserver-log-Lz7xgi/tsserver.log --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc Info 3 [11:03:46.218] Platform: linux NodeVersion: v18.17.1 CaseSensitive: true Info 4 [11:03:46.218] ServerMode: undefined hasUnknownServerMode: undefined

VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:41:44.469Z) OS version: Windows_NT x64 10.0.19045 Modes: Remote OS version: Linux x64 5.15.133.1-microsoft-standard-WSL2 Connection to 'wsl+debian' could not be established Connection to 'wsl+debian' could not be established Connection to 'wsl+debian' could not be established Connection to 'SSH: bellian-gaming.de' could not be established Canceled Connection to 'wsl+debian' could not be established

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 9 3900X 12-Core Processor (24 x 3800)| |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)|63.95GB (28.89GB free)| |Process Argv|--crash-reporter-id f5afdb2a-e3f2-4d37-bb61-5e1561b1c8e4| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Debian| |OS|Linux x64 5.15.133.1-microsoft-standard-WSL2| |CPUs|AMD Ryzen 9 3900X 12-Core Processor (24 x 3800)| |Memory (System)|7.76GB (4.32GB free)| |VM|0%| Connection to 'wsl+debian' could not be established Connection to 'wsl+debian' could not be established Connection to 'wsl+debian' could not be established Connection to 'SSH: bellian-gaming.de' could not be established Canceled Connection to 'wsl+debian' could not be established
Extensions (31) Extension|Author (truncated)|Version ---|---|--- vscode-ionic-snippets|fiv|2.2.2 jupyter-keymap|ms-|1.1.2 remote-containers|ms-|0.348.0 remote-ssh|ms-|0.109.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.86.0 vscode-remote-extensionpack|ms-|0.25.0 remote-explorer|ms-|0.4.3 remote-server|ms-|1.5.1 sqlite-viewer|qwt|0.3.13 svg-preview|Sim|2.8.3 wordpress-toolbox|wor|1.3.15 vscode-sqlite|ale|0.14.1 gitlens|eam|14.8.2 prettier-vscode|esb|10.1.0 vscode-language-pack-de|MS-|1.87.2024022809 debugpy|ms-|2024.2.0 isort|ms-|2023.10.1 python|ms-|2024.2.1 vscode-pylance|ms-|2024.2.2 jupyter|ms-|2024.2.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 hexeditor|ms-|1.9.14 vetur|oct|0.37.3 postman-for-vscode|Pos|0.18.0 prisma|Pri|5.10.2 vscode-xml|red|0.26.1 php-debug|xde|1.34.0
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 accentitlementsc:30887149 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 bf62j303:30959262 cppperfcontrol:30973184 d34g3935:30971562 edj9j583:30969295 fegfb526:30973843 ccp2r6:30958158 dsvsc020:30976470 ```
mjbvz commented 6 months ago

Does this reproduce in the latest VS Code insiders build with all extensions disabled (except wsl)?

VSCodeTriageBot commented 6 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!