0

I'm running API postman collections in azure pipelines and want to generate results using newman reporter htmlextra, but it's failing, and I get an error message "error code ENOTFOUND"

I tried installing the HTML reporter with the following command: npm install -g newman-reporter-html and running the collection from the command line, after newman run collection.json e environment --reporters html --reporters cli,junit --reporter-junit-export results\newman-results.xml, i expect the report to be generated, but it's failing to install the reporter, giving me a message: error network request to https://registry.npmjs.org/newman-reporter-htmlextra failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org

ArokaDan
  • 1
  • 1
  • I could run your command to install the reporter and publish result successfully. Are you using Microsoft hosted agent or Self-hosted agent? Or have you set any proxy like mentioned in this [similar ticket](https://stackoverflow.com/questions/54945557/error-network-request-to-https-registry-npmjs-org-yarn-failed-reason-getadd)? – Suki Ji-MSFT Nov 17 '22 at 05:40

0 Answers0