veeru422
(veeru422)
July 8, 2020, 10:36am
1
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…
The repo contains various different methods to install the reporter.
veeru422
(veeru422)
July 8, 2020, 11:28am
3
@ 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.
Windows guy, and need help using newman.
Trying to following directions here to run a collection via command line:
when running newman command:
newman run my_collection.json
I get:
newman’ is not recognized as an internal or external command,
operable program or batch file.
I understand it can’t find it, neither could I. And maybe I need to specify the path.
I think I found it here?
C:\Therma-Stor\node_modules
How does this work on Window 10?
Thanks,
Eric
veeru422
(veeru422)
July 8, 2020, 11:34am
5
Thanks @danny-dainton , finally resolved issue through adding Path variables on envoronmental variables as
%AppData%\npm ---->Path on system variables.
2 Likes
veeru422
(veeru422)
July 8, 2020, 11:37am
6
Need to add system variables of npm from appData.
system
(system)
Closed
August 22, 2023, 1:52pm
8
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.