After last update PRETTIER stopped working

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Ctr + s does nothing (format on save), Prettier is missing in [Output] > extensions.

Does anyone have the same problem?

I have the latest version of Cursor (Windows 11) and a project on Nuxt 4.

Steps to Reproduce

See description.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.41 (user setup)
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: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

13 Likes

Hey, thanks for the report. This is a known issue with the Prettier extension after a recent update.

Workaround: No longer eligible as formatter for many types of files · Issue #3906 · prettier/prettier-vscode · GitHub (you need to downgrade Prettier to a version < 12.0.0)

Root cause: Cursor doesn’t support ESM extensions yet, which newer versions of Prettier require. The team is tracking this, but the downgrade workaround should help for now.

Similar report with a solution: Prettier broke after updating Cursor to 2.39.41

4 Likes

Thx for reply, I will read about it, but what should i downgrade? Cursor or Prettier (Im on 11.0.2 that was recommended, but CTRL+S still doesn’t format the Vue file—oh well.

Try reloading the window after the downgrade:

Ctrl + Shift + P > Developer: Reload Window

Version 11.0.2 should work, but after installing or downgrading an extension, you often need to reload the window for the changes to apply.

Yes i know that of course (but thx).

This behavior is strange; it works partially.

When I make several spaces, the component returns to the beginning of the line, but when I skip, say, 10 lines, Prettier should format it so that there is a maximum of 1 free line between components, and that does not happen.

I didn’t touch any settings (I was working last week), and now after the weekend update, the whole thing is broken… :confused:

Screen: https://is.gd/Bd37sW

Any next idea pls?

1 Like

Strange behavior. If the downgrade to 11.0.2 worked, formatting should work fully.

Can you check a couple things:

  1. In the Output panel (View > Output), pick Prettier from the dropdown and see if there are any errors there.
  2. Check your .prettierrc or prettier.config.js. You might have settings that affect how Vue blank lines get formatted.

For Vue files, Prettier usually keeps blank lines as they are and doesn’t compress multiple blank lines into one, unless you’re using a plugin like prettier-plugin-organize-imports or some specific settings. So this might be expected Prettier behavior, not a bug.

hi folks. we identified the issue causing the Prettier extension v12 to stop working. a fix is rolling out over the next few days.

3 Likes

:rofl: They don’t notice such things. Editing files manually is for us normies who still live in the stone age.

1 Like

It’s happening on Mac, too.

Happens on Linux too, can confirm drop to v11.0.2 works.

Here’s how to downgrade:

4 Likes

Hi, thx for reply.

This bad settings

    "[vue]": {
        "editor.defaultFormatter": "Vue.volar"
    },

It caused prettier to be semi-functional (only some things worked).

Thanks.

had to downgrade prettier extension version and remove editor.defaultFormatter from user settings, and reload cursor to work

3 Likes

Has it been patched yet?

Thanks! removing editor.defaultFormatter fixed it for me

I thought it was just my problem, so I reinstalled everything today for nothing.

PLEASE GET THIS FIXED. This is wasting hours of my day today and about to switch to zed