How fix this?

/root/panel/node_modules/@discordjs/rest/node_modules/undici/lib/web/fetch/response.js:531 ReadableStream ^ ReferenceError: ReadableStream is not defined at Object.<anonymous> (/root/panel/node_modules/@discordjs/rest/node_modules/undici/lib/web/fetch/response.js:531:3) at Module._compile (node:internal/modules/cjs/loader:1198:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10) at Module.load (node:internal/modules/cjs/loader:1076:32) at Function.Module._load (node:internal/modules/cjs/loader:911:12) at Module.require (node:internal/modules/cjs/loader:1100:19) at require (node:internal/modules/cjs/helpers:119:18) at Object.<anonymous> (/root/panel/node_modules/@discordjs/rest/node_modules/undici/lib/web/fetch/index.js:11:5) at Module._compile (node:internal/modules/cjs/loader:1198:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10) at Module.load (node:internal/modules/cjs/loader:1076:32) at Function.Module._load (node:internal/modules/cjs/loader:911:12) at Module.require (node:internal/modules/cjs/loader:1100:19) at require (node:internal/modules/cjs/helpers:119:18) at Object.<anonymous> (/root/panel/node_modules/@discordjs/rest/node_modules/undici/index.js:103:19) at Module._compile (node:internal/modules/cjs/loader:1198:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10) at Module.load (node:internal/modules/cjs/loader:1076:32) at Function.Module._load (node:internal/modules/cjs/loader:911:12) at Module.require (node:internal/modules/cjs/loader:1100:19) at require (node:internal/modules/cjs/helpers:119:18) at Object.<anonymous> (/root/panel/node_modules/@discordjs/rest/dist/index.js:48:22)
No description
5 Replies
d.js toolkit
d.js toolkit7mo 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! - Marked as resolved by OP
chewie
chewie7mo ago
Update your NodeJS version to at least v18
Lazur
LazurOP7mo ago
how i can do it on Debian 12?
chewie
chewie7mo ago
There are plenty of guides on the web how to upgrade nodejs on linux it very much depends on how you installed it in the first place
Lazur
LazurOP7mo ago
Okay, I'll text in a few minutes. ty, it helped ❤️
Want results from more Discord servers?
Add your server