Music-bot icon indicating copy to clipboard operation
Music-bot copied to clipboard

undici version error

Open cuteceo opened this issue 1 year ago • 3 comments

OS: Ubuntu 22.04.5 LTS x86_64

root@3859069-kq59068:~/dsbots/Music-bot# node -v
v18.20.2
root@3859069-kq59068:~/dsbots/Music-bot# yarn install
yarn install v1.22.22
info No lockfile found.
[1/4] Resolving packages...
warning @discordjs/opus > @discordjs/node-pre-gyp > [email protected]: This package is no longer supported.
warning @discordjs/opus > @discordjs/node-pre-gyp > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @discordjs/opus > @discordjs/node-pre-gyp > npmlog > [email protected]: This package is no longer supported.
warning @discordjs/opus > @discordjs/node-pre-gyp > npmlog > [email protected]: This package is no longer supported.
warning @discordjs/opus > @discordjs/node-pre-gyp > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning @discordjs/opus > @discordjs/node-pre-gyp > rimraf > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=20.18.1". Got "18.20.2"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

cuteceo avatar Dec 12 '24 05:12 cuteceo

update your nodejs to version 20

BoredKevin avatar Dec 25 '24 15:12 BoredKevin

I have the same issue.

update your nodejs to version 20

It specifically says :

WARNING: You MUST use Node.js version v18.20.2, otherwise, you will encounter major compatibility issues.

in the documentation. https://github.com/tranduchuy2204/Music-bot

SNERTTT avatar Dec 27 '24 00:12 SNERTTT

I have the same issue.

update your nodejs to version 20

It specifically says :

WARNING: You MUST use Node.js version v18.20.2, otherwise, you will encounter major compatibility issues.

in the documentation. https://github.com/tranduchuy2204/Music-bot

it works flawlessly with 20.19.5 LTS I Found. I also found a fix for the stupid youtubei.js error where it refuses to play

MantisToboggan2 avatar Sep 04 '25 04:09 MantisToboggan2