+++ This bug was initially created as a clone of Bug #2438831 +++ After the https://fedoraproject.org/wiki/Changes/NodejsNodeModulesPath has landed, ownership of the (empty) /usr/lib/node_modules directory should be shared by all the active stream. nodejs24 has prepared for that, but the relevant parts were left commented out, and the pretrans scriptlet is not yet present. By copying the new-style spec file to the other streams in rawhide, I unintentionally also removed their ownership of said directory, so right now *nothing* provides /usr/lib/node_modules in rawhide and F44. I'll clone this bug for the other streams as well. Reproducible: Always Steps to Reproduce: Install nodejs22 package. Actual Results: /usr/lib/node_modules is not provided by nodejs22. Expected Results: /usr/lib/node_modules is provided by nodejs22. %pretrans scriptlet is being run to ensure any old symlink is removed if present.
FEDORA-2026-27a643cba4 (nodejs22-22.22.0-7.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-27a643cba4
FEDORA-2026-27a643cba4 (nodejs22-22.22.0-7.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-becb2eb055 (nodejs22-22.22.0-7.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-becb2eb055
FEDORA-2026-becb2eb055 (nodejs22-22.22.0-7.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report.