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

nodemon requiring /usr/bin/node that might not be satisfied by RPM deps [rhel-10]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Normal Normal
    • rhel-10.2
    • rhel-10.2
    • nodejs-nodemon
    • None
    • nodejs-nodemon-3.0.3-6.el10_0
    • No
    • Moderate
    • 2
    • rhel-pt-ruby-nodejs
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • PT Ruby Node.js 2025 S11, PT Ruby Node.js 2025 S12
    • Regression Exception
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      nodejs-nodemon filters out automatic RPM deps on /usr/bin/node in order to be able to work with all available Node.js versions (design choice done in Fedora already).

      It only requires nodejs(engine) virtual provide, so currently it might happen that nodejs-nodemon is installed together with nodejs24, so all RPM deps are satisfied, but /usr/bin/node is not available actually.

      # yum install -y nodejs-nodemon https://download-01.beak-001.prod.iad2.dc.redhat.com/brewroot/vol/rhel-10/packages/nodejs24/24.4.1/5.el10/x86_64/nodejs24-{,libs-}24.4.1-5.el10.x86_64.rpm
      <snipped>
      Running transaction
        Preparing        :                                                                                                                  1/1 
        Installing       : nodejs24-libs-1:24.4.1-5.el10.x86_64                                                                             1/3 
        Installing       : nodejs24-1:24.4.1-5.el10.x86_64                                                                                  2/3 
        Installing       : nodejs-nodemon-3.0.3-5.el10.noarch                                                                               3/3 
        Running scriptlet: nodejs-nodemon-3.0.3-5.el10.noarch                                                                               3/3 
      Installed products updated.
      
      Installed:
        nodejs-nodemon-3.0.3-5.el10.noarch            nodejs24-1:24.4.1-5.el10.x86_64            nodejs24-libs-1:24.4.1-5.el10.x86_64           
      
      Complete!
      
      # nodemon
      bash: /usr/bin/nodemon: cannot execute: required file not found
      

      Just having a symlink makes it work fine:

      # ln -s /usr/bin/node-24 /usr/bin/node
      
      # nodemon
        Usage: nodemon [nodemon options] [script.js] [args]
      
        See "nodemon --help" for more.
      

              aradchen Andrei Radchenko
              hhorak@redhat.com Honza Horak
              nodejs-maint nodejs-maint
              rhel-nodejs-qe bot rhel-nodejs-qe bot
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: