I have that error in console, but i don't know the reason why occure, I have it second time, that's not occure everytime and don't break my app.
[Nest] 3384 - 21.04.2023, 21:40:04 ERROR [ExpressAdapter] Premature close
Error: Premature close
at new NodeError (node:internal/errors:399:5)
at onclose (node:internal/streams/end-of-stream:154:30)
at processTicksAndRejections (node:internal/process/task_queues:77:11)
If i recognise why it's occure i will give you feedback, but u have a hint to test it, right now.
I send link for my repo, you can run it, following CONTRIBUTION.md but it's a little complicated project, i send it cause u can see only my nest app config.
That's occure on API app
In the future i can create minimal reproduction, but now i really don't have time.
Is there an existing issue for this?
Current behavior
I have that error in console, but i don't know the reason why occure, I have it second time, that's not occure everytime and don't break my app.
If i recognise why it's occure i will give you feedback, but u have a hint to test it, right now.
Minimum reproduction code
https://github.com/PatrykKuniczak/memesChat/tree/dev
Steps to reproduce
I send link for my repo, you can run it, following CONTRIBUTION.md but it's a little complicated project, i send it cause u can see only my nest app config.
That's occure on API app
In the future i can create minimal reproduction, but now i really don't have time.
Expected behavior
Error don't occure
Package
Other package
No response
NestJS version
9.3.7
Packages versions
Node.js version
19.6.0
In which operating systems have you tested?
Other
I using npm on Windows 11 and run it on bash console inside WebStorm.