-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
TS Language service keeps crashing #213588
Comments
I have the same issue. Wasn't related to any extension; error is caused by VSCode's internal TypeScript server, I think. Potential workaround: lock TypeScript to anything up to This problem has popped up in a few of my repos when opened in VSCode. Common features for all those problematic repos:
As mentioned above, I found that locking TypeScript to |
@mattjs Are you using yarn? |
Yep, I'm using |
Heres the error log and the detailed one
|
Ah yes, FWIW I was using Yarn |
Thanks. This is caused by yarn. Relevant upstream issue: yarnpkg/berry#6270 |
Type: Bug
The JS/TS language service immediately crashed 5 times. The service will not be restarted.
VS Code version: Code 1.89.1 (Universal) (dc96b83, 2024-05-07T05:14:24.611Z)
OS version: Darwin arm64 23.5.0
Modes:
System Info
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
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (7)
A/B Experiments
The text was updated successfully, but these errors were encountered: