I’ve been getting the “Extension host terminated unexpectedly” error non‑stop since last week, which has made Cursor completely unusable.
I’ve tried every method mentioned in the forums including reinstalling the app, adjusting VPN and firewall settings, and even the latest solution posted yesterday, copying the main file from cursor-socket/dist to ./out like C:\Program Files\cursor\resources\app\extensions\cursor-socket\out\main.
But Cursor still keeps crashing. As soon as I type a prompt, it shows “Waiting for extension host”, then pops up the “Extension host terminated unexpectedly” error.
Steps to Reproduce
Just type a prompt, it shows “Waiting for extension host”. And then pops up the “Extension host terminated unexpectedly” error.
Hey, this is a known packaging bug. The cursor-socket extension is missing its out/ folder, so the extension host crashes on startup.
You mentioned you already tried copying the file, but the key is to copy the entire dist/ directory recursively, not just one file. Since you used the system installer, try this in Command Prompt as Administrator:
cd "C:\Program Files\cursor\resources\app\extensions\cursor-socket"
xcopy dist out\ /E /I
I tried your solution, but it still crashes. I then tested the user version as well, along with all the previously mentioned solutions including the xcopy command (I realized the cursor-socket paths are different between the system and user versions), but none of them worked.
Could you please let me know roughly when the new version will be released?
Additionally, since we purchased a subscription plan but are unable to use it until this bug is fixed, would it be possible to get a corresponding extension of the subscription period as compensation?