microsoft / vscode

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

The JS/TS language service crashed #228824

Open Seintian opened 5 days ago

Seintian commented 5 days ago

Type: Bug

Open a TSX file in a Github repository of a React project and a Warning notification will appear: "The JS/TS language service crashed. Source: TypeScript and JavaScript Language Features". It will reappear if closed. No JS/TS language features are available: if I move the cursor on a variable I only get the text "Loading..." in the popup.

VS Code version: Code - OSS 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-12T15:10:53.972Z) OS version: Linux x64 6.10.0-arch1-2 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 899)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|6, 3, 2| |Memory (System)|15.50GB (11.55GB free)| |Process Argv|.| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|i3| |XDG_CURRENT_DESKTOP|i3| |XDG_SESSION_DESKTOP|i3| |XDG_SESSION_TYPE|x11|
Extensions (22) Extension|Author (truncated)|Version ---|---|--- language-x86-64-assembly|13x|3.1.4 Doxygen|bbe|1.0.0 vscode-intelephense-client|bme|1.12.6 cmake-format|che|0.6.13 doxdocgen|csc|1.4.0 gitlens|eam|15.5.1 prettier-vscode|esb|11.0.0 php-debug|fel|1.22.0 c-cpp-runner|fra|9.4.7 vscode-c-cpp-config|fra|6.0.0 vscode-c-cpp-dev-extension-pack|fra|0.10.0 better-cpp-syntax|jef|1.27.1 git-graph|mhu|1.30.0 vscode-docker|ms-|1.29.2 debugpy|ms-|2024.8.0 python|ms-|2024.14.1 java|red|1.34.0 rust-analyzer|rus|0.3.2112 cmake|twx|0.0.17 vscode-lldb|vad|1.10.0 vscode-icons|vsc|12.9.0 material-theme|zhu|3.17.3
vs-code-engineering[bot] commented 5 days ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.93.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!