xo-disk-cli on latest XOA node.js problem
-
hi,
we tried to install the npm package but it cries about node.js being too old... we are on official XOA latest commit, node.js is 20.x

will try on an XO CE and report back
-
Hi,
Not sure to get it, XOA isn't meant to be tinkered. Why would you add an npm package on it?
-
@Pilow I was also suprised to see that disk-cli depends on node 22 or later.
Before disk-cli got introduced I was able to build XO on node 20 just fine.
Had to bump my node version on XO-CE in order to be able to keep building XO.I was also suprised to see that XOA still uses node 20 even though XO from sources can not be built anymore using that particular node version.
-
@olivierlambert because xo-disk-cli reviewed in last updates is not present
and the github tells us to npm install here : https://github.com/vatesfr/xen-orchestra/tree/master/%40xen-orchestra/disk-cli -
on XO CE with node.js 24.x it installs OK

-
-
@Pilow Yeah maybe but I hoped that XOA is somewhat aligned with XO from sources users. At least in a way that XO-CE users have the option to use the same Node version that Vates declares as most stable to use.
With the introduction of disk-cli this is not the case anymore.//EDIT: at least when using the common scripts or docker containers maintained by community for running XO-CE. Those scripts / Dockerfiles could be edited to exclude disk-cli. Then it would still be possible to run XO on Node 20 I guess.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login