Cursor Extension Host crashes repeatedly. cursor-socket extension is malformed — missing out/ folder (only dist/ present) and no build scripts in package.json.
Steps to Reproduce
ls “/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-socket/”
→ Output: dist package.json extension.webpack.config.js (NO out/ folder)
cat “/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-socket/package.json”
→ No “scripts” section
cd “/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-socket/”
npm run compile
→ npm error Missing script: “compile”
Expected Behavior
cursor-socket extension should have out/ folder with compiled JS and package.json should have build scripts (compile/build).
Extension Host should not crash.
Hey, thanks for the report. The picture is clear - out/ is missing, only dist/ present.
This bug was fixed in 2.6.18 but looks like it’s regressed in 2.6.20. You’re not alone - other users are reporting the same thing on recent builds. Flagged this with the team.
One thing - did you download the Apple Silicon or Mac Universal build? If ARM64, try the Universal one from Cursor · Download - helps narrow down which package is affected.
Addendum:
I tried to fix manually (and failed) → can’t build it locally. extension.webpack.config.js requires ‘../cursor.webpack.config’ which doesn’t exist locally.
Webpack fails even after `npm install webpack webpack-cli`.
Full error: [webpack-cli] Failed to load config: Cannot find module ‘../cursor.webpack.config’
Hi, following up with full diagnostics/what I tried:
TL;DR: Symlink workaround did not fix the issue. Still crashing after applying ln -s dist out.
Full investigation:
Confirmed cursor-socket missing out/ on both ARM64 and Universal builds (v2.6.20)
Applied symlink → out → dist confirmed in ls -la
Extension Host still crashes repeatedly with exit code 10
Verbose logs show: [UtilityProcess id: 2, type: extensionHost, pid: 59163]: crashed with code 10 and reason ‘crashed’.
Edit: tested with --disable-extensions flag → Extension Host STILL crashes with code 10.
This rules out any third-party extension as the cause.
Therefore I assume that the crash is in Cursor’s own bundled extension host, not user-installed extensions.
Codebase indexing UI stuck on “Loading” endlessly (can’t disable via UI)
Also tried this: disabled indexing via settings.json: “cursor.codebaseIndexing.enabled”: false “cursor.indexRepos.enabled”: false
→ No effect, still crashing after restart
Conclusion:
The symlink workaround doesn’t resolve the underlying exit code 10 native crash.
Looks like a deeper packaging regression beyond just the missing out/ folder.
Updated to v2.6.21 Universal — cursor-socketout/ folder still missing.
Had to reapply symlink workaround manually after update wiped it.
Symlink + disabled indexing via settings.json still required.
Fix has not landed in 2.6.21.
However: after reapplying both workarounds on 2.6.21,
Extension Host is now stable — no more crash popups.
So the symlink + indexing fix combination works as a workaround,
but needs to be manually reapplied after every Cursor update.
A permanent fix in the installer would be appreciated.
Good news: I’ve updated to latest buildup (stayed in Universal) and after working a bit on it, I don’t see any issue related to the extension host anymore:
Note: The cursor-socket out/ folder still missing, but Extension Host is stable without the symlink this time. The Settings workaround (indexing disabled) is still in place.
Possible the underlying crash was fixed separately from the packaging issue (?)