eritislami / evobot

🤖 EvoBot is a Discord Music Bot built with TypeScript + Discord.js, includes Docker builds & localization in 20+ languages
MIT License
1.85k stars 2.01k forks source link

🐛 Having issue running Evobot on host server #1657

Open Tox0id opened 2 months ago

Tox0id commented 2 months ago

Describe the bug The bot doesn't start. I get the following error message:

/media/sdc1/tox0id/rammari/evobot/node_modules/undici/lib/web/fetch/response.js:530 ReadableStream ^ ReferenceError: ReadableStream is not defined at Object.<anonymous> (/media/sdc1/tox0id/rammari/evobot/node_modules/undici/lib/web/fetch/response.js:530:3) at Module._compile (node:internal/modules/cjs/loader:1198:14) at Module._extensions..js (node:internal/modules/cjs/loader:1252:10) at Object.require.extensions.<computed> [as .js] (/media/sdc1/tox0id/rammari/evobot/node_modules/ts-node/src/index.ts:1608 :43) 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> (/media/sdc1/tox0id/rammari/evobot/node_modules/undici/lib/web/fetch/index.js:11:5) at Module._compile (node:internal/modules/cjs/loader:1198:14) npm notice npm notice New major version of npm available! 8.19.4 -> 10.8.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2 npm notice Run npm install -g npm@10.8.2 to update! npm notice I have Node.js version: 16.20.2 and it seems to be related to node versions under 18?

On my server I cannot update node above 16

Can this issue be solved with node 16 support?

How To Reproduce Steps to reproduce the behavior:

  1. have node version 16
  2. run npm start

Expected behavior Evobot should start

Environment (add if possible)