# Error message appearing while generating html reports

**URL:** <https://community.postman.com/t/error-message-appearing-while-generating-html-reports/51063>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [August 28, 2023, 2:24pm UTC](https://community.postman.com/t/error-message-appearing-while-generating-html-reports/51063 "2023-08-28T14:24:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![science-astronaut-96](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@science-astronaut-96](https://community.postman.com/u/science-astronaut-96)\
**Post date:** [August 28, 2023, 2:24pm UTC](https://community.postman.com/t/error-message-appearing-while-generating-html-reports/51063/1 "2023-08-28T14:24:36Z")

</div>

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.

 ![Screenshot 2023-08-28 at 19.45.47](https://us1.discourse-cdn.com/getpostman/original/3X/c/5/c5d259c0ff0f7e2b6184e9d84001e467a5873eef.jpeg)  
 ![Screenshot 2023-08-28 at 19.50.39](https://us1.discourse-cdn.com/getpostman/original/3X/f/7/f7670a671caf32c9472bff3eca1ae0964d539003.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [August 30, 2023, 12:49pm UTC](https://community.postman.com/t/error-message-appearing-while-generating-html-reports/51063/2 "2023-08-30T12:49:59Z")

</div>

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:

```auto
npm uninstall -g newman newman-reporter-html

```

```auto
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.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [November 28, 2023, 12:50pm UTC](https://community.postman.com/t/error-message-appearing-while-generating-html-reports/51063/3 "2023-11-28T12:50:34Z")

</div>

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