TypeError [ERR_INVALID_ARG_TYPE]: The "stream" argument must be an instance of Stream.
my bot has been running fine in production for years but today i'm getting this message on startup with no changes of any kind:
i'm using bun and djs 14.16.3
2 Replies
- 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!
- ✅
Marked as resolved by OPresolved, for anyone searching int he future it was this, needed to update node version https://github.com/nodejs/undici/issues/3123
GitHub
undici.fetch
breaks on Node.js <=18.13.0 in [email protected] · Issue...Bug Description Since [email protected], undici.fetch breaks on Node.js 18.13.0 and earlier. "package.json" includes: "engines": { "node": ">=18.0" }, but I&#...