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

1 Like

Have a look at this solution.

1 Like