mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-25 11:25:05 +02:00
In setup_nodejs() Scenario 1 (major version already matches), only npm was refreshed - apt never upgraded the nodejs package itself. This left existing LXCs stuck on older minor releases (e.g. 22.13.1) even though NodeSource ships newer ones (e.g. 22.19+). Fix: add pt-get install -y --only-upgrade nodejs before the npm pin so the latest minor/patch from the already-configured NodeSource repo is always installed. Fixes: seerr update failing with ERR_PNPM_UNSUPPORTED_ENGINE because seerr 3.2.0 requires Node >=22.19.0 but installed was v22.13.1 (#13955)