My minecraft bot

HI i’m having a error with my minecraft bot that i’m not sure how to fix. Please let me know anything that will possibly fix this!

Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:83:16) {
errno: ‘EPIPE’,
code: ‘EPIPE’,
syscall: ‘write’
}
[ERR] Error: write EPIPE
[END]

Umm. Can we see the line of code that is being used that makes the error? internal/stream_base_commons.js That seems to be the file.

That isn’t a file in my project…

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.

can you look at it? https://glitch.com/edit/#!/questnet?path=bot.js:48:3