Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reporter is not found #7

Open
alasgarov83 opened this issue Nov 12, 2020 · 1 comment
Open

reporter is not found #7

alasgarov83 opened this issue Nov 12, 2020 · 1 comment

Comments

@alasgarov83
Copy link

alasgarov83 commented Nov 12, 2020

Hello!

I've installed json-summary reporter together with newman but when trying to run a collection I'm getting this:

newman: could not find "json-summary" reporter
ensure that the reporter is installed in the same directory as newman
please install reporter using npm

I have:
Node.js v15.1.0 | npm -v 7.0.8 | newman -v 5.2.1 | 18.04.1-Ubuntu

npm list -g -depth=0
/usr/lib
+-- [email protected]
+-- [email protected]
`-- [email protected]

Have you ever encountered anything similar? If yes, what is the solution? I did install it using npm and with -g option, it is installed into the same directory as newman (node_modules).

I would like to use this reporter to pass newman test results to prometheus, I hope it will be suitable for this purpose.

Thank you!

@blawoj
Copy link

blawoj commented Mar 15, 2023

Just for future me or anyone having the same issue. Try removing all node modules and running npm install again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants