Error [ERR_STREAM_WRITE_AFTER_END]: write after end

write after end Error [ERR_STREAM_WRITE_AFTER_END]: write after end at new NodeError (node:internal/errors:372:5) at write (node:internal/streams/writable:320:11) at Socket.Writable.write (node:internal/streams/writable:335:10) at Socket.ondata (node:internal/streams/readable:777:22) at Socket.emit (node:events:527:28) at Socket.Readable.read (node:internal/streams/readable:550:10) at Socket.read (node:net:666:39) at flow (node:internal/streams/readable:1034:34) at resume (node:internal/streams/readable:1015:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { resource: AudioResource { playStream: OggDemuxer { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: true, _remainder: null, _head: null, _bitstream: null, [Symbol(kCapture)]: false, [Symbol(kCallback)]: [Function: bound onwrite] }, edges: [ [Object], [Object] ], metadata: null, volume: undefined, encoder: undefined, audioPlayer: AudioPlayer { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _state: [Object], subscribers: [Array], behaviors: [Object], debug: [Function (anonymous)], [Symbol(kCapture)]: false }, playbackDuration: 158160, started: true, silencePaddingFrames: 5, silenceRemaining: -1 } }
2 Replies
d.js toolkit
d.js toolkit2y ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
PixelBlob
PixelBlobOP2y ago
the only way ive been able to fix this is by using play-dl but for specific reasons I need to use ytdl-core Ive had this problem for like months now googling it gives me nothing useful please help its really starting to piss m3 off

Did you find this page helpful?