Hey, here’s an update on this issue:
The fix for ESM extension support (including Prettier v12+) is done and should be in version 2.4.
Give it a try:
- Update to Cursor 2.4 or newer (Cursor Settings > Beta > Early Access)
- After updating, you can switch back to Prettier v12+ - ESM is now supported
- Reload the window after installing:
Ctrl + Shift + P>Developer: Reload Window
If the issue still happens on version 2.4+ let us know what exact version of Cursor you’re running.