Terminal fails to execute in agent mode

Describe the Bug

Terminal fails to execute in agent mode.

Vscode shows the error:
‘The terminal process “…\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe ‘-l’” terminated with exit code: 1.’

Steps to Reproduce

Ask agent to npm run lint.

Expected Behavior

Terminal command executes.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.44.8
VSCode Version: 1.93.1

Additional Information

.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

3 Likes

Have a look at this solution.

1 Like

I have this same issue. EVERY SINGLE TIME Cursor runs a command it either freezes and I have to cancel it, or it exits with this same error.

1 Like

I wrote a blog post to solve the problem until official updates.

1 Like