Change terminal for agents

When the agent tries to execute a command itself, I always get an error. Even with simple commands like “npm run build.”

q : The name “q” was not recognized as the name of a cmdlet, function, script file, or
executable program. Verify that the name is spelled correctly, that the path
is correct (if included), and then try again.
In line:1 character:1
+ q
+ ~~~
    + CategoryInfo          : ObjectNotFound: (q:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Why is this so? When i execute npm run build directly in the terminal like git bash there is no problem.

I met him, too. Did you solve it?

problem still there. i use the git bash terminal manually