Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error (node:458793) MaxListenersExceededWarning #3225

Closed
btrem opened this issue Mar 20, 2024 · 1 comment
Closed

error (node:458793) MaxListenersExceededWarning #3225

btrem opened this issue Mar 20, 2024 · 1 comment
Assignees
Labels

Comments

@btrem
Copy link

btrem commented Mar 20, 2024

Operating system

Ubuntu 22

Eleventy

3.0.0-alpha.5

Describe the bug

I got this error when running 11ty in watch mode:

(node:458793) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 101 eleventy.resourceModified listeners added to [AsyncEventEmitter]. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created)

Running node --trace-warnings opens a node prompt. I'm afraid I don't know how to proceed from there.

I searched the web, and found a Stack Overflow post that said,

This is typically an indication that some code is repeatedly adding the same event handler over and over again....

I don't really know if the problem is with 11ty itself, or something I'm doing with my configuration.
If there is anything I can do to provide more information, let me know.

Reproduction steps

I have been unable to duplicate the error, so I cannot list reproduction steps.

Expected behavior

No response

Reproduction URL

No response

Screenshots

No response

@zachleat zachleat added this to the Eleventy 3.0.0 milestone Apr 9, 2024
@zachleat zachleat added bug and removed needs-triage labels Apr 9, 2024
@zachleat zachleat self-assigned this May 1, 2024
@zachleat
Copy link
Member

zachleat commented May 1, 2024

Shipping with 3.0.0-alpha.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants