Skip to content

undici version error #344

Open
Open

Description

@cuteceo

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 > npmlog@5.0.1: This package is no longer supported.
warning @discordjs/opus > @discordjs/node-pre-gyp > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning @discordjs/opus > @discordjs/node-pre-gyp > npmlog > gauge@3.0.2: This package is no longer supported.
warning @discordjs/opus > @discordjs/node-pre-gyp > npmlog > are-we-there-yet@2.0.0: This package is no longer supported.
warning @discordjs/opus > @discordjs/node-pre-gyp > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning @discordjs/opus > @discordjs/node-pre-gyp > rimraf > glob > inflight@1.0.6: 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 undici@7.1.0: 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.

Activity

  1. BoredKevin commented on Dec 25, 2024

    @BoredKevin
    Contributor

    update your nodejs to version 20

  2. SNERTTT commented on Dec 27, 2024

    @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

  3. MantisToboggan2 commented on Sep 4, 2025

    @MantisToboggan2

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions