Node.js · Middle · Question 22 of 75

What does the warning MaxListenersExceededWarning usually point to?

Explanation

The default limit is 10 listeners per event. Raising it with setMaxListeners hides the problem; usually you should remove listeners with off or use once.

Further reading

Problem with a question

Node.js · Middle · question 22

Test yourself

Take the Node.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz