Can't fix "Extension host terminated unexpectedly 3 times within the last 5 minutes"

Hey, I can see this is a continuation of your previous thread Urgent - Cursor doesn't work with errors "Agent Execution Timed Out", thanks for posting the directory listing of the cursor-socket folder there. That’s the key clue.

In your cursor-socket folder, you have dist/, but there’s no out/ folder. The extension expects its entry point at ./out/main, so when out/ is missing, the extension host crashes right away.

Try this workaround. Open Command Prompt as administrator and run:

cd "%LOCALAPPDATA%\Programs\cursor\resources\app\extensions\cursor-socket"
xcopy dist out\ /E /I

This will copy the contents of dist/ into a new out/ folder. Then restart Cursor.

One more thing I didn’t ask earlier. Do you have any VPN software installed, even if it’s not running right now. Another user with the exact same issue fixed it by uninstalling their VPN app Extension host terminated unexpectedly no matter what i try - #9 by Brian_Walch

This is a known packaging issue on our side. I’ve flagged it to the team, your report and the file list help us prioritize it.

Let me know if the xcopy workaround helped.