Upgrade of XO fails
-
I am trying to run an update (Option 2) on my XO which I built in Feb last year, and last updated around March last year.
I get this error:error @vates/generator-toolbox@1.0.1: The engine "node" is incompatible with this module. Expected version ">=20.18". Got "18.19.1" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. + rm -rf /opt/xo/xo-builds/xen-orchestra-202504240934
Any help much appreciated!
-
@Murf You need to upgrade NodeJS to at least version 20.x
Current version is 22.x, so you should just upgrade to that.
-
@Andrew Ok thanks, I assumed the install script would handle that?
Murf -
Resolved with the following commands:
sudo npm install n -g n stable
Please close
-
O olivierlambert marked this topic as a question
-
O olivierlambert has marked this topic as solved
-
Hi,
Indeed, the pre requisite section is pretty clear about it: https://docs.xen-orchestra.com/installation#packages-and-pre-requisites
And the error message was clear too:
The engine "node" is incompatible with this module. Expected version ">=20.18". Got "18.19.1"
However, if you think there's a way to improve this, let us know, we'll be happy to assist