Skip to content

[Bug?]: TypeScript integration not resolving with PnP #6124

Open
@jarimustonen

Description

@jarimustonen

Self-service

  • I'd be willing to implement a fix

Describe the bug

My project uses Yarn PnP with the problem being that VS Code does not find any of the types.

Screenshot 2024-02-12 at 15 07 43

The website provides instructions on fixing this: https://yarnpkg.com/getting-started/editor-sdks

After the instructed steps:

  1. Run yarn dlx @yarnpkg/sdks vscode
  2. Install ZipFS plugin
  3. Set the TypeScript version to "Use Workspace Version"

The problem persists. VS Code does not find any of the type definitions.

To reproduce

See above.

Environment

System: Apple M1, Sonoma 14.2.1

VS Code: 1.86.0 (Universal)
Node: v21.5.0
Yarn: 3.6.4

Additional context

No response

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