# Node --trace-warnings

**URL:** <https://discourse.nodered.org/t/node-trace-warnings/63728>\
**Category:** General\
**Tags:** docker\
**Created:** [10 June 2022 14:16 UTC](https://discourse.nodered.org/t/node-trace-warnings/63728 "2022-06-10T14:16:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [10 June 2022 14:16 UTC](https://discourse.nodered.org/t/node-trace-warnings/63728/1 "2022-06-10T14:16:46Z")

</div>

At start my raspberry Pi4 I have this error:

(node:1548) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 flows:started listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit  
(Use `node --trace-warnings ...` to show where the warning was created)

Well, I don't understand how to use

```auto
`node --trace-warnings ...`

```

like this?

```auto
node-red node --trace-warnings

```

or how?

Thank you ...

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [10 June 2022 15:34 UTC](https://discourse.nodered.org/t/node-trace-warnings/63728/2 "2022-06-10T15:34:58Z")

</div>

> [@Giamma](#):
>
> like this?
> 
> ```auto
> node-red node --trace-warnings
> 
> ```

No, the correct syntax is something like this:

```auto
node --trace-warnings node_modules/node-red/red.js

```

Though you obviously need to provide the correct path to the `red.js` file.

---

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [10 June 2022 15:45 UTC](https://discourse.nodered.org/t/node-trace-warnings/63728/3 "2022-06-10T15:45:54Z")

</div>

Ok, thank you ....

---

<div class="post-metadata">

**Author:** ![LeungChunChiu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/leungchunchiu/32/63211_2.png) [@LeungChunChiu](https://discourse.nodered.org/u/LeungChunChiu)\
**Post date:** [14 June 2022 08:13 UTC](https://discourse.nodered.org/t/node-trace-warnings/63728/4 "2022-06-14T08:13:10Z")

</div>

I start node red through docker. How to use `node --trace warnings`  
Thank you !

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [14 June 2022 09:10 UTC](https://discourse.nodered.org/t/node-trace-warnings/63728/5 "2022-06-14T09:10:56Z")

</div>

No idea, sorry. I don't use Docker for Node-RED.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 June 2022 09:11 UTC](https://discourse.nodered.org/t/node-trace-warnings/63728/6 "2022-06-28T09:11:07Z")

</div>

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