J
Joaquin Torga
I am having this error when I try to install @distube/yt-dlp in my bot project.
I tryed with a lot of types of fixes, but i dont find anythink util. Someone have a fix for this??
I tryed with a lot of types of fixes, but i dont find anythink util. Someone have a fix for this??
Code:
npm error code 1
npm error path /home/CavernServices/CavernBot/node_modules/@distube/yt-dlp
npm error command failed
npm error command sh -c is-ci || node script/download.js
npm error /home/CavernServices/CavernBot/node_modules/undici/lib/web/fetch/response.js:527
npm error ReadableStream
npm error ^
npm error
npm error ReferenceError: ReadableStream is not defined
npm error at Object.<anonymous> (/home/CavernServices/CavernBot/node_modules/undici/lib/web/fetch/response.js:527:3)
npm error at Module._compile (node:internal/modules/cjs/loader:1198:14)
npm error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
npm error at Module.load (node:internal/modules/cjs/loader:1076:32)
npm error at Function.Module._load (node:internal/modules/cjs/loader:911:12)
npm error at Module.require (node:internal/modules/cjs/loader:1100:19)
npm error at require (node:internal/modules/cjs/helpers:119:18)
npm error at Object.<anonymous> (/home/CavernServices/CavernBot/node_modules/undici/lib/web/fetch/index.js:11:5)
npm error at Module._compile (node:internal/modules/cjs/loader:1198:14)
npm error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
npm error A complete log of this run can be found in: /www/server/nodejs/v14.17.5/cache/_logs/2024-09-05T04_59_57_768Z-debug-0.log
root@vmi835464:/home/CavernServices/CavernBot#```