Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undici version error #344

Open
6guard opened this issue Dec 12, 2024 · 2 comments
Open

undici version error #344

6guard opened this issue Dec 12, 2024 · 2 comments

Comments

@6guard
Copy link

6guard commented Dec 12, 2024

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.
@BoredKevin
Copy link
Contributor

update your nodejs to version 20

@SNERTTT
Copy link

SNERTTT commented Dec 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants