A JavaScript error occurred in main process

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I upgraded IDE to newer version I am started to getting this error. See attached screenshot.

Steps to Reproduce

Just upgrade the cursor to latest version and ide started crashing.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

IDE is crashing how can I get this.

Does this stop you from using Cursor

Yes - Cursor is unusable

Old trick worked. Uninstalled, and reinstall

Hey, glad the reinstall helped. These errors sometimes happen when an update corrupts some files or leaves leftovers from an older version.

If you run into something similar in the future, you can try deleting the %LocalAppData%\Programs\cursor\resources folder before reinstalling. That clears cached modules.