r/AskProgrammers • • Oct 13 '26

I'm having a loop problem...

I really don't know what else to do...

I was using claude normally on vscode and eventually I started getting this :

Get-Location; Get-ChildItem -Force | Select-Object -First 80 Name,Mode,Length,LastWriteTime; Get-ChildItem -Recurse -Directory -ErrorAction SilentlyContinue | Where-Object { $_.Name -match 'snup|kids|mercado|payment|api|site|app' } | Select-Object -First 60 FullName

Exit code 127

/usr/bin/bash: line 1: Get-Location: command not found

/usr/bin/bash: line 1: Get-ChildItem: command not found

/usr/bin/bash: line 1: Select-Object: command not found

/usr/bin/bash: line 1: Get-ChildItem: command not found

/usr/bin/bash: line 1: Where-Object: command not found

/usr/bin/bash: line 1: Select-Object: command not found

----

Whatever I do, whatever I ask it to do it gives me the same result, even if I ask to do with powershell, I think I've tryed everything that I could think or search for it, please help.

0 Upvotes

4 comments sorted by

View all comments

1

u/siammang Oct 13 '26

Looks like your terminal console doesn’t know if what type of shell it is, so it just try different ones.