microsoft / vscode

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

Javascript/Typescript server keeps crashing #214524

Open rchiodo opened 5 months ago

rchiodo commented 5 months ago

Type: Bug

2024-06-06 15:29:21.312 [info] Starting TS Server 2024-06-06 15:29:21.312 [info] Using tsserver from: c:\Users\rchiodo\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js 2024-06-06 15:29:21.312 [info] Forking... 2024-06-06 15:29:21.312 [info] Starting... 2024-06-06 15:29:21.312 [info] Forking... 2024-06-06 15:29:21.312 [info] Starting... 2024-06-06 15:45:57.355 [info] Killing TS Server 2024-06-06 15:45:57.404 [error] TSServer errored with error. A system error occurred (write EPIPE) 2024-06-06 15:45:57.515 [error] TSServer exited. Code: null. Signal: SIGTERM

VS Code version: Code - Insiders 1.90.0-insider (bc15ede705b9168324a3440b7c80c80644743306, 2024-05-30T05:53:01.333Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD EPYC 7763 64-Core Processor (16 x 2445)| |GPU Status|2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: unavailable_software| |Load (avg)|undefined| |Memory (System)|63.95GB (35.46GB free)| |Process Argv|--folder-uri file:///c%3A/Users/rchiodo/source/repos/pyrx --crash-reporter-id fb5f004c-0c45-4402-af67-bb66466f13d8| |Screen Reader|no| |VM|0%|
Extensions (13) Extension|Author (truncated)|Version ---|---|--- vscode-eslint|dba|2.4.4 prettier-vscode|esb|10.4.0 copilot|Git|1.200.919 copilot-chat|Git|0.16.2024060502 debugpy|ms-|2024.7.11371017 python|ms-|2024.8.0 vscode-pylance|ms-|2024.6.1 jupyter|ms-|2024.5.2024052901 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.18 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-wsl|ms-|0.88.2
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vsc_aacf:30263846 vscod805:30301674 vsaa593:30376534 py29gd2263:31024238 c4g48928:30535728 a9j8j154:30646983 962ge761:30841072 f8hc8238:30694864 pythongtdpath:30726887 welcomedialog:30812478 pythonidxpt:30768918 pythonnoceb:30776497 asynctok:30898717 dsvsc013:30777762 dsvsc014:30777825 dsvsc015:30821418 pythontestfixt:30866404 pythonregdiag2:30926734 pythonmypyd1:30859725 pythoncet0:30859736 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30870582 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 cppperfnew:30980852 pythonait:30973460 showvideot:31016890 chatpanelt:31014475 724cj586:31013169 a69g1124:31018687 dvdeprecation:31040973 pythonprt:31036556 dwnewjupytercf:31046870 nb_pkg_only:31057982 fa862199:31048878 nativerepl1:31063927 ```
bencefr commented 2 months ago

Still happens with VSCode 1.92.1. Quite annoying. Platform independent, this one is on mac M1:

2024-08-09 08:48:09.700 [info] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
2024-08-09 08:48:09.700 [info] <syntax> Forking...
2024-08-09 08:48:09.700 [info] <syntax> Starting...
2024-08-09 08:48:09.700 [info] <semantic> Forking...
2024-08-09 08:48:09.700 [info] <semantic> Starting...
2024-08-09 08:48:09.700 [error] TSServer exited. Code: null. Signal: SIGTERM

I tried to select different typescript versions, none of them works.