nodejs/npm should generate many bundled Provides for npm modules that serve as dependencies for npm, but that doesn't seem to be the case according to Koji [1]. [1]: https://koji.fedoraproject.org/koji/rpminfo?rpmID=36232846 Reproducible: Always
The issue is actually in the nodejs-packaging package. It isn't looking in the node_modules_NN directories since the packaging changed to allow parallel-installation.
FEDORA-2023-f0c182788b has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f0c182788b
FEDORA-2023-eed65da40e has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-eed65da40e
FEDORA-2023-02ce25556c has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-02ce25556c
FEDORA-2023-f0c182788b has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.