Bug 2438837 - nodejs20 does not own/provide /usr/lib/node_modules directory
Summary: nodejs20 does not own/provide /usr/lib/node_modules directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs20
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Staněk
QA Contact:
URL:
Whiteboard:
Depends On: 2438831
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-11 11:39 UTC by Jan Staněk
Modified: 2026-02-19 11:36 UTC (History)
3 users (show)

Fixed In Version: nodejs20-20.20.0-7.fc45
Clone Of: 2438831
Environment:
Last Closed: 2026-02-19 11:36:44 UTC
Type: ---
Embargoed:
jstanek: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-3140 0 None None None 2026-02-11 11:55:17 UTC

Description Jan Staněk 2026-02-11 11:39:43 UTC
+++ 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 nodejs20 package.

Actual Results:
/usr/lib/node_modules is not provided by nodejs20.

Expected Results:
/usr/lib/node_modules is provided by nodejs20.
%pretrans scriptlet is being run to ensure any old symlink is removed if present.

Comment 1 Fedora Update System 2026-02-17 13:48:25 UTC
FEDORA-2026-3cf5dcee8d (nodejs20-20.20.0-7.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3cf5dcee8d

Comment 2 Fedora Update System 2026-02-17 14:02:25 UTC
FEDORA-2026-53e0baafd2 (nodejs20-20.20.0-7.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-53e0baafd2

Comment 3 Fedora Update System 2026-02-19 11:36:44 UTC
FEDORA-2026-53e0baafd2 (nodejs20-20.20.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.


Note You need to log in before you can comment on or make changes to this bug.