I have a similar issue when, but in WSL
2025-12-04 17:31:12.628 [error] Failed to patch code.sh launcher: Error: ENOENT: no such file or directory, open ‘c:\Users\alphja\AppData\Local\Programs\cursor\resources\app\bin\code’
2025-12-04 17:31:12.628 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #1)
2025-12-04 17:31:12.628 [info] Installing cursor-server with options: {“id”:“a227bb470acb6f1c1af9eef3”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 17:31:12.910 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 17:31:13.065 [info] Successfully connected to Cursor server at http://127.0.0.1:43983/version from Windows
2025-12-04 17:31:13.065 [info] Returning resolved authority for Cursor server at http://127.0.0.1:43983/version from Windows. Returning token: fed7cd6e-28da-4ace-9f6d-86c4edee3788
2025-12-04 17:31:56.452 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #2)
2025-12-04 17:31:56.466 [warning] Failed to reuse existing connection, attempt 1 of 2 fetch failed
2025-12-04 17:31:56.574 [warning] Failed to reuse existing connection, attempt 2 of 2 fetch failed
2025-12-04 17:31:56.971 [info] Installing cursor-server with options: {“id”:“17a8c2deb4b9552366bd0e8b”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 17:31:57.249 [error] Error installing Cursor server [wsl exec: installServerScript] Command failed with exit code 4294967295: stdout: Catastrophic failure
Error code: Wsl/Service/E_UNEXPECTED