Hi all,
I did a fresh install of Xen Orchestra from sources and noticed that if v6 is included in the build, there’s what seems to be a dependency error. Without v6, everything completes successfully.
I’ve been able to trace it to the web build, but I haven’t found a known workaround yet
@xen-orchestra/web:build: vite v6.3.6 building for production...
@xen-orchestra/web:build: transforming...
@xen-orchestra/web:build: ✓ 2140 modules transformed.
@xen-orchestra/web:build: ✗ Build failed in 5.86s
@xen-orchestra/web:build: error during build:
@xen-orchestra/web:build: ../web-core/lib/utils/speed.util.ts (1:14): "Scale" is not exported by "../../node_modules/human-format/index.js", imported by "../web-core/lib/utils/speed.util.ts".
@xen-orchestra/web:build: file: /opt/xo/xo-builds/xen-orchestra-*/@xen-orchestra/web-core/lib/utils/speed.util.ts:1:14
Has anyone else experienced this issue with v6 specifically, or knows of a workaround to get it building?
Cheers