error @vates/generator-toolbox@1.0.1: The engine "node" is incompatible with this module. Expected version ">=20.18". Got "18.20.3"
-
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.
-
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"
-
Hi,
Thank you. I thought Xen Orchestra could handle Node updates itself. -
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
-
@jasonnix Update to nodejs 22.x. It should be good for a while. Nodejs 24 will be out soon but not required yet.