Thanks for reporting. There might be a bug here â but I think this is being triggered by multiple environment variables with the same name (but different case).
If you run Get-ChildItem Env: | Sort-Object Name outside of Cursor, is it successful?
That command is running outside cursor totally fine; it is also running fine inside user opened terminal in Cursor, but not in agentâs terminal
I actually just fixed this with help of agent
I enabled developer mode in windows 11 settings
There was some fnm symlink issue which I fixed
I installed powershell 7 (this is probably what fixed it)
This appears to be fine now, although powershell 7 seems a bit slow with agent idk why and I use node with fnm via symlink which isnât working in agentâs sandboxed terminal, it has to request for required_permissions: [âallâ]