Hi!
The first reflex when you have an issue is to check:
Pre-requisites: https://xen-orchestra.com/docs/installation.html#packages-and-pre-requisites
Being up to date
In your case, it was 1
Note: Node 20 compatibility will come soon but it doesn't mean 1 & 2 should be done before anything else
Also, nice catch @Danp