gax-nodejs icon indicating copy to clipboard operation
gax-nodejs copied to clipboard

MaxListenersExceededWarning: Possible EventEmitter memory leak detected

Open marck283 opened this issue 2 years ago • 1 comments

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

  1. Is this a client library issue or a product issue? This issue is related to the client library for Node.js.

  2. Did someone already solve this?

  1. Do you have a support contract? No.

If the support paths suggested above still do not result in a resolution, please provide the following details.

Environment details

  • OS: Windows 11
  • Node.js version: 20.7.0
  • npm version: 10.1.0
  • gax-nodejs version: 3.6.1

Steps to reproduce

  1. Upgrade Node.js to version 20.7.0 while having some packages in your project that depend on a version of node-fetch prior to 3.2.5.

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

marck283 avatar Sep 29 '23 09:09 marck283

As a side note, node-fetch's versions up until 3.2.10 also suffer from a Regular Expression Denial of Service bug (as stated here). Therefore, my suggestion would be to upgrade node-fetch to version 3.2.10 or later.

marck283 avatar Oct 03 '23 13:10 marck283