Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-53983

Node.js doesn't have a default module

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.4.z
    • nodejs
    • None
    • No
    • Moderate
    • rhel-sst-pt-python-ruby-nodejs
    • ssg_platform_tools
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      According to our RHEL AppStreams Life Cycle, Node.js 16 was retired on Apr 2024:
      https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle

      However, as Node.js doesn't have a default module, in RHEL 9.4 it will still try to install Node.js 16 by default, unless the 18/20 modules are explicitly enabled:

                                     
      [root@localhost ~]# cat /etc/redhat-release 
      Red Hat Enterprise Linux release 9.4 (Plow)
      [root@localhost ~]# subscription-manager release --show
      Release: 9.4
      [root@localhost ~]# dnf module list | grep nodejs
      nodejs     18     common [d], development, minimal, s2i Javascript runtime                                    
      nodejs     20     common [d], development, minimal, s2i Javascript runtime                                    
      [root@localhost ~]# dnf install nodejs
      Updating Subscription Management repositories.
      Last metadata expiration check: 0:05:48 ago on Mon 12 Aug 2024 12:45:31 PM CEST.
      Dependencies resolved.
      ==============================================================================================================================================================
       Package                          Architecture           Version                                       Repository                                        Size
      ==============================================================================================================================================================
      Installing:
       nodejs                           x86_64                 1:16.20.2-8.el9_4                             rhel-9-for-x86_64-appstream-rpms                 116 k
      Installing dependencies:
       nodejs-libs                      x86_64                 1:16.20.2-8.el9_4                             rhel-9-for-x86_64-appstream-rpms                  15 M
      Installing weak dependencies:
       nodejs-docs                      noarch                 1:16.20.2-8.el9_4                             rhel-9-for-x86_64-appstream-rpms                 7.2 M
       nodejs-full-i18n                 x86_64                 1:16.20.2-8.el9_4                             rhel-9-for-x86_64-appstream-rpms                 8.2 M
       npm                              x86_64                 1:8.19.4-1.16.20.2.8.el9_4                    rhel-9-for-x86_64-appstream-rpms                 2.2 M
      

              nodejs-maint nodejs-maint
              rhn-support-jeperez Jesus Perez
              nodejs-maint nodejs-maint
              rhel-nodejs-qe bot rhel-nodejs-qe bot
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: