You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UI: raise the Node.js build baseline so sass and other build tools can be upgraded #14927
The UI build still has to work on Node.js 14 (ui/Dockerfile uses node:14-bullseye) and Node.js 16 (.github/workflows/ui.yml), and the RPM/DEB package builds use whatever nodejs the build host provides (debian/control asks for nodejs (>= 12), the el8/suse15 specs don't pin a version, and packaging/README.md installs Node 14). All of these are past end of life.
Because of that, #13632 (UI package upgrades, #13631) has to keep some packages at older versions:
sass is pinned to ~1.99.0. From 1.100.0 on, sass needs Node >= 20.19. With sass 1.101.0 and Node 24 in CI, the package builds failed on every distro.
ui/package-lock.json stays at lockfile version 2, so that npm 6 (shipped with Node 14) can still read it.
isexe and node-releases (build-time only) already declare Node >= 18. npm only warns about this; the build works.
TO DO
Raise the minimum Node.js for building the UI to a supported LTS (20.19+ or 22/24):
ui/Dockerfile and .github/workflows/ui.yml
debian/control (nodejs (>= ...)) and the BuildRequires: nodejs line in the RPM specs
packaging/README.md
the package build hosts (blueorangutan / Jenkins)
Then upgrade sass past 1.99 and let the lockfile move to version 3.
ui/node-options-wrapper.sh adds --openssl-legacy-provider on Node 17+ because webpack 4 hashes with MD4. A webpack 5 / vue-cli 5 migration (or a move to Vite) would remove the need for it, and for the sass silenceDeprecations in ui/vue.config.js.
Activity