Error: Cannot probe a readable stream in object mode
I'm getting this error when trying to create the audio resource for a track, my current code is:
With packages
Anyone know how I might fix this issue? I was using
ytdl-core
before but it returned an audio resource with length 0.2 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.node v17.1.0
i wrote some code in the logger to trim the stacktrace until
Module._compile
and replaces it with the x internal lines
and replace .js with .ts so thats why it might look weird