Skip to content

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

Open

Description

@neoncube2

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

  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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions