Node --trace-warnings

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

`node --trace-warnings ...`

like this?

node-red node --trace-warnings

or how?

Thank you ...

No, the correct syntax is something like this:

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

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

1 Like

Ok, thank you ....

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

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

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