Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Before explaining my case, I want to say I love Cursor IDE and it has been supporting me a lot. But I’m now Soooooo mad at this error. When it comes to opening Cursor IDE again after closing, I always see the alert “Extension host terminated unexpectedly…”. I’ve searched for it so many times to fix it, but the way I finally found works temporarily. So I could manage to use prompt and agent. But I was so tired of doing the same things for a temporary fix, so I was trying to solve the problem fundamentally. Looking around this forum, I saw “Clean directory if it works on other directory” and I applied it on my case, but I deleted it before backing up. I know this is my fault, but so I’m so frustrated at it. used so many tokens and I’m running out of API usage. The thing that I want to say is just this is to remind you the importance of backing up and bug reports.
Here’s what I did
- Relaunch
- Start Extension Bisect
- Restart Extension Host
- Delete all extensions
- Delete Cursor from Windows settings, Cursor Folder and so on, then clean install Cursor
- Delete Cursor Appdata
- Delete project folders and git pull same project from remote
- Network Diagnostics (It became criteria whether it works or not)
- Change other project folders —working on some projects (but not working in the end),
not working on similar projects, but working on other people’s Cursor IDE of my team - Delete globalStorage/state.vscdb (and like more)
Finally working but temporarily.
If I want to use it, I must remove those files.
It lasts about two weeks. I don’t think it’s about extensions or SSL (because my team members use it the same).
Now what I can do is just waiting for the reset day to get new API quota.
Here’s some logs
- workbench.desktop.main.js:43744 [Extension Host] (node:19912) [DEP0040] DeprecationWarning: The
punycodemodule is deprecated. Please use a userland alternative instead.
(UseCursor --trace-deprecation ...to show where the warning was created) - workbench.desktop.main.js:64 WARN [MainThreadCursor] Failed to flush aggregating provider batch Canceled: Canceled
- workbench.desktop.main.js:49748 Extension host (LocalProcess [role: retrieval-always-local] pid: 13020) terminated unexpectedly. Code: 18446744072635810000, Signal: unknown
*extensionHostWorkerMain.js:155 @anysphereanysphere/context unavailable — tracing will be disabled: TypeError: Failed to resolve module specifier ‘@anysphere/context’ at extensionHostWorkerMain.js:155:144140 - workbench.desktop.main.js:43744 [Extension Host] Error: Please provide instrumentation key
- workbench.desktop.main.js:64 ERR Extension host (LocalProcess [role: retrieval-always-local] pid: 3488) terminated unexpectedly. The following extensions were running: anysphere.cursor-always-local, anysphere.cursor-resolver, anysphere.cursor-retrieval
Steps to Reproduce
Launch Cursor, then the notification appears.
“Extension host terminated unexpectedly 3 times within the last 5 minutes.”
Opening other projects, Sometimes it works but same error in the end.
After deleting state.vscdb and getting auth from cursor web page, It works only once.
Then I relaunch Cursor IDE, same notification appears.
Expected Behavior
noramlly launching
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Version: 2.6.14 (system setup)
VSCode Version: 1.105.1
Commit: eb1c4e0702d201d1226d2a7afb25c501c2e56080
Date: 2026-03-08T15:36:54.709Z
Build Type: Stable
Release Track: Default
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
Does this stop you from using Cursor
Yes - Cursor is unusable
