#7272·berry

[Bug?]: JS/TS language service immediately crashing in VSCode

Author: neoncube2Created Sep 12, 2026Updated Sep 12, 2026
Labelsbug

Self-service

  • I'd be willing to implement a fix

Describe the bug

Long ago, I ran yarn dlx @yarnpkg/sdks vscode, and my copy of VSCode seems to have worked well after that.

Recently, opening a .jsx file has started causing VSCode to show an error saying The JS/TS language service immediately crashed 5 times. The service will not be restarted:

Image

I've tried updating VSCode and running yarn dlx @yarnpkg/sdks again, but the issue persists.

If this is something you're interested in investigating, can you let me know what other logs I need to attach?

VSCode version: 1.137.0

Thanks, and thanks for all of the work that you do on Yarn! :)

To reproduce

  1. Run yarn dlx @yarnpkg/sdks vscode
  2. In VSCode, set the Typescript version to workspace
  3. Open a .jsx file

Environment

bash
  System:
    OS: Windows 11 10.0.26200
    CPU: (12) x64 Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz
  Binaries:
    Node: 26.8.2 - C:\Users\elibl\AppData\Local\Temp\\\xfs-99a549fc\node.CMD
    Yarn: 4.18.0 - C:\Users\elibl\AppData\Local\Temp\\\xfs-99a549fc\yarn.CMD
    npm: 12.0.2 - C:\Program Files\nodejs\npm.CMD

Additional context

No response