!                     𝔇𝔒π”ͺ𝔬𝔫
! 𝔇𝔒π”ͺ𝔬𝔫
DIdiscord.js - Imagine ❄
Created by ! 𝔇𝔒π”ͺ𝔬𝔫 on 1/18/2025 in #djs-questions
ReferenceError: ReadableStream is not defined
the code https://justpaste.it/iay5u The error:
PS F:\Coding\Javascript\Discordjs\TheArena> pnpm start

> the-arena-discord-[email protected] start F:\Coding\Javascript\Discordjs\TheArena
> node .

F:\Coding\Javascript\Discordjs\TheArena\node_modules\.pnpm\[email protected]\node_modules\undici\lib\web\fetch\response.js:527
ReadableStream
^

ReferenceError: ReadableStream is not defined
at Object.<anonymous> (F:\Coding\Javascript\Discordjs\TheArena\node_modules\.pnpm\[email protected]\node_modules\undici\lib\web\fetch\response.js:527: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> (F:\Coding\Javascript\Discordjs\TheArena\node_modules\.pnpm\[email protected]\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)
 ELIFECYCLE  Command failed with exit code 1.
PS F:\Coding\Javascript\Discordjs\TheArena> pnpm start

> the-arena-discord-[email protected] start F:\Coding\Javascript\Discordjs\TheArena
> node .

F:\Coding\Javascript\Discordjs\TheArena\node_modules\.pnpm\[email protected]\node_modules\undici\lib\web\fetch\response.js:527
ReadableStream
^

ReferenceError: ReadableStream is not defined
at Object.<anonymous> (F:\Coding\Javascript\Discordjs\TheArena\node_modules\.pnpm\[email protected]\node_modules\undici\lib\web\fetch\response.js:527: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> (F:\Coding\Javascript\Discordjs\TheArena\node_modules\.pnpm\[email protected]\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)
 ELIFECYCLE  Command failed with exit code 1.
i used to avoid this error by going to (F:\Coding\Javascript\Discordjs\TheArena\node_modules.pnpm\[email protected]\node_modules\undici\lib\web\fetch\response.js:527:3) and comment this
webidl.converters.ReadableStream = webidl.interfaceConverter(
ReadableStream
)
webidl.converters.ReadableStream = webidl.interfaceConverter(
ReadableStream
)
but know i have another problem with uploading files to discord using discord.js so ig that's the problem
7 replies