While newman was executable both from command line and powershell, running tests in TeamCity failed since it could not locate newman (or any other npm installed CLIs).
Solution (in my case):
Move npm path from user environment to system environment and restart TeamCity.
i am getting the same issue
‘newman’ is not recognized as an internal or external command,
operable program or batch file.while try to run postman test through jenkin job.
Got the following error in windows 11: ‘newman’ is not recognized as an internal or external command,
operable program or batch file. The above solution failed