undici version error
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.
update your nodejs to version 20
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
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