Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
This morning I launched cursor IDE in wsl (by “cursor .”) from the project directory as usual. See the following errors:
2026-03-24 13:26:32.990 [error] Failed to patch code.sh launcher: Error: ENOENT: no such file or directory, open ‘c:\Users\presa\AppData\Local\Programs\cursor\resources\app\bin\code’
2026-03-24 13:26:32.990 [info] Resolving wsl remote authority ‘wsl+Ubuntu’ (attempt #1)
2026-03-24 13:26:32.990 [info] Installing cursor-server with options: {“id”:“246cc5d72d37f12518856ea8”,“commit”:“fea2f546c979a0a4ad1deab23552a43568807590”,“line”:“production”,“realCommit”:“fea2f546c979a0a4ad1deab23552a43568807592”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false,“host”:“127.0.0.1”}
2026-03-24 13:26:33.355 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2026-03-24 13:26:33.533 [info] Successfully connected to Cursor server at http://127.0.0.1:45963/version from Windows
2026-03-24 13:26:33.533 [info] Returning resolved authority for Cursor server at http://127.0.0.1:45963/version from Windows. Returning token: 4fee0d5a-106e-4bbe-9c74-db6bc5c37eee
A few details:
- Cursor version 2.6.21 (and also tried 2.6.12), WSL version: 2.6.1.0, Ubuntu 24.04.4 LTS
- There is no code.sh / code / code.exe in the \resources\app\bin directory.
- I tried a clean install (rm -rf ~/.cursor-server, wsl --shutdown, uninstall cursor, restart computer, and install cursor again). Same issue remains.
- I tried disable Windows 11 antivirus before re-install. Same issue remains.
- I tried re-installing an earlier Cursor version (2.6.12). Same issue remains.
Any suggestions is highly appreciated.
Steps to Reproduce
Open WSL terminal, and launch cursor by “cursor .”
Expected Behavior
Error message as described above.
Operating System
Windows 10/11
Version Information
Version: 2.6.21 (user setup)
VSCode Version: 1.105.1
Commit: fea2f546c979a0a4ad1deab23552a43568807590
Date: 2026-03-21T22:09:10.098Z
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
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