cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Cursor Not working with WSL after updating it

Open Alavi1412 opened this issue 9 months ago • 1 comments

I have updated cursor on 19 April and now, it can not connect to WSL anymore. I am getting this Popup and every time I click on Install and Reload, it reopens the Cursor and shows the same error.

Image

The version I am using:

Image

UPDATE1: More details about the error.

2025-04-21 22:58:26.406 [error] command 'remote-wsl.connect' not found: Error: command 'remote-wsl.connect' not found
    at Kai.n (vscode-file://vscode-app/c:/Users/alavi/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:3050:1663)
    at Kai.executeCommand (vscode-file://vscode-app/c:/Users/alavi/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:3050:1364) command 'remote-wsl.connect' not found
2025-04-21 22:58:31.417 [error] No remote extension installed to resolve wsl.: CodeExpectedError: No remote extension installed to resolve wsl.
    at qLi.ub (vscode-file://vscode-app/c:/Users/alavi/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4933:52862)
    at async qLi.tb (vscode-file://vscode-app/c:/Users/alavi/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4933:52228)
    at async qLi.gc (vscode-file://vscode-app/c:/Users/alavi/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4939:3628)
    at async vscode-file://vscode-app/c:/Users/alavi/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:47:85164 No remote extension installed to resolve wsl.

Alavi1412 avatar Apr 21 '25 14:04 Alavi1412

+1 no response after clicking

yonghenglh6 avatar Apr 24 '25 10:04 yonghenglh6

same for me, for 0.49.6

indigoray avatar Apr 28 '25 02:04 indigoray

It seems the WSL version is problematic here. I fixed it by removing the WSL and then, manually installing the ms-vscode-remote.remote-wsl-0.88.3.vsix file. Make sure to remove the extension folder from these places before installing the new version:

C:\Users\USERNAME\.cursor\extensions C:\Users\USERNAME\.vscode\extensions

This is how you can install the extension.

Link to download the vsix file for the extension.

Alavi1412 avatar Apr 28 '25 12:04 Alavi1412