Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After updating Cursor today (January 20, 2026), the Prettier extension fails to activate with an ESM module loading error.
Error from Extension Host log:
[error] Activating extension esbenp.prettier-vscode failed due to an error:[error] Error [ERR_MODULE_NOT_FOUND]: Cannot find package ‘vscode’ imported from /Users/…/.cursor/extensions/esbenp.prettier-vscode-12.1.1-universal/dist/extension.js
Steps to Reproduce
Upgrade to latest version
Expected Behavior
Prettier v12.x should load correctly as it did before the update.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.3.41 (Universal)
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
Additional Information
Downgrading to Prettier v10.4.0 works:
cursor --uninstall-extension esbenp.prettier-vscode
cursor --install-extension [email protected]
Does this stop you from using Cursor
No - Cursor works, but with this issue