Error message appearing while generating html reports

Archived topic — this may be out of date.
Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.
Working with an AI coding agent? The Postman plugin lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.

I have installed Newman and Newman-reporter-html in same folder, still whenever I run postman collection through CLI and trying to generate reports it displays following error: "ensure that the reporter is installed in the same directory as newman
run npm install newman-reporter-html
I tried everything, I have added screen-shot below and both Newman & Newman-reporter are installed in same node_modules folder. My laptop is MacBook Air M1 chip.


Hey @science-astronaut-96

Welcome to the Postman Community! :postman:

Could you try doing a full global uninstall of both followed by a new global install:

npm uninstall -g newman newman-reporter-html
npm install -g newman newman-reporter-html

This seems like a obviously solution but this basic reset has been proven to solve the installation issue.