It’s actually an internal Node.js file emitting the error.
@Anonymous You’re writing to a closed pipe. Since we don’t know exactly what you’re doing, it’s hard to figure out where or how the error is being caused. My guess is that you’re trying to send data to a stream associated with a disconnected user.
Take a look at the documentation for Node.js streams.