No, the bug is actually with Cursor, and it’s known issue in Cursor (playing catchup to upstream VS Code): Cursor 2.1 seems to lack ESM extension support
That said, No longer eligible as formatter for many types of files · Issue #3906 · prettier/prettier-vscode · GitHub will show you how to downgrade Prettier to a version compatible with Cursor.