Skip to content

[Bug?]: pnp + prettier + editor SDK crashes vscode #6805

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

Open
1 task
scarf005 opened this issue May 22, 2025 · 0 comments
Open
1 task

[Bug?]: pnp + prettier + editor SDK crashes vscode #6805

scarf005 opened this issue May 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@scarf005
Copy link

Self-service

  • I'd be willing to implement a fix

Describe the bug

Image Image

yarn pnp, with prettier and vite preset, crashes vscode's extension host consistently.

https://yarnpkg.com/getting-started/editor-sdks

To reproduce

  1. clone https://github.com/issues-repros/prettier-pnp-repro
  2. open it in code-insiders
  3. see extension host crashing

Environment

System:
    OS: macOS 15.4.1
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 23.11.0 - /private/var/folders/k0/5cj98r7x29j30wk_zzpsrphr0000gn/T/xfs-a4a27a43/node
    Yarn: 4.8.1 - /private/var/folders/k0/5cj98r7x29j30wk_zzpsrphr0000gn/T/xfs-a4a27a43/yarn
    npm: 10.9.2 - /opt/homebrew/bin/npm
    bun: 1.2.6 - ~/.bun/bin/bun

Additional context

to manually setup:

  1. yarn create vite
  2. select react + typescript preset
  3. add prettier
  4. setup vscode SDK
@scarf005 scarf005 added the bug Something isn't working label May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant