Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28738

Cannot use nodejs 18 on rhel7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • LATER
    • LATER
    • qa
    • None
    • ---

    Description

      From 2022-10-25 newest lts nodejs version is 18 (instead of 16). There is some problem with nodejs 18 and rhel7. It can be installed, but cannot use it:

      [hudson@crs-test-rhel7 cloud-user]$ . /home/hudson/.nvm/nvm.sh; npm i -g vsce --verbose --try-run
      Please see `nvm --help` or https://github.com/nvm-sh/nvm#nvmrc for more information.
      node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
      node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by node)
      node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
      node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)
      node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
      node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node) 

      So we will continue using nodejs 16. If someone want to use 18 and he knows what this errors means - would be great.

      nodejs installation script:
      https://gitlab.cee.redhat.com/codeready-studio/ansible-scripts/-/blob/master/roles/nodejs/tasks/main.yml 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rh-ee-olkornii Oleksii Korniienko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: