Prettier Plugin Fails in New Version

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