Prettier Plugin Fails in New Version

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Prettier plugin not working after I update to latest version in this morning

Steps to Reproduce

F1 > Format Document (No have Prettier to activate anymore)

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.41
VSCode Version: 1.105.1
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30
Date: 2026-01-16T19:14:00.150Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, this is a known issue. Cursor doesn’t support the ESM extensions that Prettier v12+ needs yet.

Good news: a fix is ready and will ship in version 2.4 within the next few days. @noor shared that here.

Workaround for now: downgrade Prettier to 11.0.2:

  • Extensions > Prettier > click the gear icon > Install Another Version
  • Pick version 11.0.2
  • Reload the window: Cmd + Shift + P > Developer: Reload Window

More details: No longer eligible as formatter for many types of files · Issue #3906 · prettier/prettier-vscode · GitHub

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.