Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-74917

Update nodejs version from 20 to 22 for midstream

XMLWordPrintable

    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV v4.21.0.rhel9-122
    • None

      There are no updates in midstream for a week, because upstream move to nodejs 22 via https://github.com/kubevirt-ui/kubevirt-plugin/pull/3250, but midstream still use nodejs 20, below error happens in downstream build:

      2025-12-11 07:46:50,723 - atomic_reactor.tasks.binary_container_build - INFO - yarn run v1.22.10 2025-12-11 07:46:50,723 - atomic_reactor.tasks.binary_container_build - INFO - error kubevirt-plugin@0.0.0: The engine "node" is incompatible with this module. Expected version ">=22.0.0". Got "20.19.5" 2025-12-11 07:47:16,879 - atomic_reactor.tasks.binary_container_build - INFO - error Commands cannot run with an incompatible environment. 2025-12-11 07:47:16,880 - atomic_reactor.tasks.binary_container_build - INFO - info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 2025-12-11 07:47:16,883 - atomic_reactor.tasks.binary_container_build - INFO - 2025-12-11 07:47:16,883 - atomic_reactor.tasks.binary_container_build - ERROR - Error: building at STEP "RUN yarn install --ignore-engines && yarn build": while running runtime: exit status 1

      ref: https://download-01.beak-001.prod.iad2.dc.redhat.com/brewroot/work/tasks/2275/69652275/x86_64.log

              thason@redhat.com Tal Hason
              gouyang1@redhat.com Guohua Ouyang
              Daniel Keler Daniel Keler
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: