A lot of not found and error 127 in yarn build
-
I started from scratch with
node -v
v18.12.1which is the latest LTS according to https://nodejs.org/en/
And I have the same errors.
I am on the same OS as the documentation:
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye -
Are you on the latest commit from
master? -
I ran the command from the documentation:
git clone -b master https://github.com/vatesfr/xen-orchestra
-
Does it ring any bell @julien-f ?
-
@bern Don't forget the initial
yarnto install the dependencies. -
Here are the commands from my history:
116 git clone -b master https://github.com/vatesfr/xen-orchestra
. . .
119 cd xen-orchestra/
. . .
121 yarn
122 yarn build -
@bern My bad, I missed your previous message on this
I don't know where the issue comes from then

-
I reverted to a snapshot of a freshly installed Debian 11 and then I ran the following commands:
apt-get install build-essential redis-server libpng-dev git python3-minimal libvhdi-utils lvm2 cifs-utils
apt-get update
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs
root@orchestrator:~# node -v
v18.12.1root@orchestrator:~# which yarn
root@orchestrator:~# corepack enable
root@orchestrator:~# corepack prepare yarn@stable --activate
Preparing yarn@stable for immediate activation...
root@orchestrator:~# which yarn
/usr/bin/yarn
root@orchestrator:/opt/xen-orchestra# yarn -v
3.3.0git clone -b master https://github.com/vatesfr/xen-orchestra
yarn
yarn build
It looks like I am out of luck on this.

-
@bern I just built mine on Dev 11 a few days ago...
Make sure sudo is installed and do:
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - -
@bern I believe the issue is that you are using Yarn 3 but XO is using Yarn 1 (classic).
I've made a change that should help with this, please fetch latest XO commit and try again
yarn. -
-
O olivierlambert marked this topic as a question on
-
O olivierlambert has marked this topic as solved on
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