XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    error @vates/generator-toolbox@1.0.1: The engine "node" is incompatible with this module. Expected version ">=20.18". Got "18.20.3"

    Scheduled Pinned Locked Moved Xen Orchestra
    5 Posts 3 Posters 124 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jasonnix
      last edited by

      Hello,
      I want to update Xen Orchestra, but I got the following error:

      # git pull
      # git pull origin master
      # yarn
      yarn install v1.22.22
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      warning Pattern ["@intlify/shared@latest"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-@intlify-shared-11.1.2-d780bc8eb4e3c3ef8a3e45c421f0f5ecf59651f2-integrity/node_modules/@intlify/shared" as pattern ["@intlify/shared@11.1.2","@intlify/shared@11.1.2","@intlify/shared@11.1.2"]. This could result in non-deterministic behavior, skipping.
      warning Pattern ["@intlify/shared@next"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-@intlify-shared-11.0.0-rc.1-52a67aa12fccd9303027b48ebf017b75b7350283-integrity/node_modules/@intlify/shared" as pattern ["@intlify/shared@11.0.0-rc.1"]. This could result in non-deterministic behavior, skipping.
      error @vates/generator-toolbox@1.0.1: The engine "node" is incompatible with this module. Expected version ">=20.18". Got "18.20.3"
      error Found incompatible module.
      info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
      

      Any idea?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi!

        Thanks for the report. Have you carefully read the installation notes especially on the requirements? And also, have you read the error output you posted?

        Because this line is pretty explicit:

        The engine "node" is incompatible with this module. Expected version ">=20.18". Got "18.20.3"

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jasonnix @olivierlambert
          last edited by

          Hi,
          Thank you. I thought Xen Orchestra could handle Node updates itself.

          A 1 Reply Last reply Reply Quote 0
          • olivierlambertO Online
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by olivierlambert

            Absolutely not, Node is the engine for running the code, it's entirely up to you to deal with that when you use the sources, explaining why we took the time to document it explicitly: see the entire section Pre-requisites at https://docs.xen-orchestra.com/installation#packages-and-pre-requisites

            If you use XOA, clearly it's up to us, and that's a part of the value of XOA vs the sources 🙂

            1 Reply Last reply Reply Quote 0
            • A Offline
              Andrew Top contributor @jasonnix
              last edited by

              @jasonnix Update to nodejs 22.x. It should be good for a while. Nodejs 24 will be out soon but not required yet.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post