@nestjs/common@^10.0.0(node:47898) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit #12696
Labels
needs triage
This issue has not been looked into
Is there an existing issue for this?
Current behavior
While setting up a new project and running the npm install command, I encountered the following error message:
@nestjs/common@^10.0.0(node:47898) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
Minimum reproduction code
https://github.com/nestjs/typescript-starter
Steps to reproduce
Expected behavior
It works perfectly on node 18
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
No response
NestJS version
10.0.0
Packages versions
[System Information]
OS Version : Linux 6.2
NodeJS Version : v20.9.0
NPM Version : 10.2.1
[Nest CLI]
Nest CLI Version : 10.2.1
[Nest Platform Information]
platform-express version : 10.2.8
schematics version : 10.0.3
testing version : 10.2.8
common version : 10.2.8
core version : 10.2.8
cli version : 10.2.1
Node.js version
20.9.0
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: