Cursor unusable

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

unable to open cursor
some times it’s open but when I try to open new agent I see this message: t.startWith ins not a function

Steps to Reproduce

just open IDE

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

I can’t open cursor!

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, I see the screenshot with the Storage Error. The issue is that the state.vscdb file is corrupted, and that’s why you’re getting the “t.startWith is not a function” error. The code is trying to read data from that database, but it’s corrupted.

Try this:

  1. Fully close Cursor and double-check in Task Manager that there are no Cursor processes left
  2. Open File Explorer and go to c:\Users\ASUS\AppData\Roaming\Cursor\User\globalStorage\
  3. Delete or rename state.vscdb and state.vscdb.backup if it exists
  4. Start Cursor again

This will reset some local data like chat history, but it should fix the issue.

If it doesn’t help, do a full reinstall. Uninstall Cursor, then manually delete %APPDATA%\Cursor and %LOCALAPPDATA%\cursor-updater, and install it again.

Let me know how it goes.