00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
-
Hello,
I want to install XO on Debian 10 and I use XO documentation. I have two questions:
1- I got the following error during installation and how to fix it?# yarn 00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
I did following steps :
# apt remove yarn # apt install curl # curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - # echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list # apt update # apt install yarn
But, I got the following error:
# yarn yarn install v1.22.19 [1/5] Validating package.json... error @: The engine "node" is incompatible with this module. Expected version ">=14". Got "10.24.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2- The location of translations is "packages/xo-web/src/common/intl/locales/" directory, if I put the translation in this location and install the XO, then it will add to OX automatically?
Thank you.
-
Should I install it via nmp?
# apt remove cmdtest # apt install npm # npm install -g yarn
-
Hi !
@hack3rcon said in 00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.:
Expected version ">=14". Got "10.24.0"
As the doc says: Please always use latest Node LTS
-
@AtaxyaNetwork Hi,
How to fix it? -
@hack3rcon You can use
wget -qO- https://deb.nodesource.com/setup_18.x | sudo -E bash - apt install -y nodejs
-
@AtaxyaNetwork said in 00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.:
@hack3rcon You can use
wget -qO- https://deb.nodesource.com/setup_18.x | sudo -E bash - apt install -y nodejs
Hello,
Thank you so much.
I copied the language file in "/xen-orchestra/packages/xo-web/src/common/intl/locales/" directory before installing the XO. I installed the XO and logged into the XO, but I can't see that language.
Why? -
There's no file to modify to change the language. Go in your user zone (left menu, the "user" icon, almost on the bottom, and then you can select your language, that will be immediately set.
-
@olivierlambert
Hello,
Thank you so much.
I did a localization and I want to see the result. I translated the English file. -
It doesn't work like this. You need to create a new file with the country code. You can use an existing translation for inspiration (like in French or whatever) and then try it.
-
@olivierlambert
Can you tell me step by step? I translated one of the .js files and copied it in "/xen-orchestra/packages/xo-web/src/common/intl/locales/" directory with a new name. -
@hack3rcon You can take inspiration from this PR: https://github.com/vatesfr/xen-orchestra/pull/6526/files
-
@AtaxyaNetwork
Thank you so much.