Newman not recognized as an internal or external command

I have installed Node and npm and working fine. even i installed newman getting response as some packages added while trying to get the version of newman getting below error

“F:\DevWorkspace\Postman>newman run DemoAPI.postman_collection.json
’newman’ is not recognized as an internal or external command,
operable program or batch file.

Please suggest how to create html reports with newman.

Hey @veeru422

Did you install Newman globally?

npm i -g newman

There’s an amazing HTML reporter here you can use… :wink:

The repo contains various different methods to install the reporter.

@ dannydainton, yes i have created globally using same command.
still same issue

Is there anything in here that can point you in the right direction, there is mention of system path changes for Node.

Thanks @danny-dainton, finally resolved issue through adding Path variables on envoronmental variables as
%AppData%\npm ---->Path on system variables.

2 Likes

Need to add system variables of npm from appData.

worked for me. Thanks

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.