Some versions of net-libs/nodejs don't come with npm by default. The https://packages.gentoo.org/packages/net-libs/nodejs page shows the USE flags as +npm due to some versions (20.15.1 and 22.4.1-r1) having npm set by default. Although it's a stub, the current wiki page for nodejs - https://wiki.gentoo.org/index.php?title=Node.js&oldid=1313713#npm - says that npm can be disabled, which interprets to "it's already enabled, so you need to disable it". As a result, I was confused why npm didn't show up, despite the packages.gentoo.org page showing that nodejs has the USE flag for npm as "+npm". Reproducible: Didn't try Actual Results: Some nodejs versions come with npm enabled by default, while others don't. Expected Results: A concise way of telling whether nodejs should come with npm by default, or not? AKA, all versions should either have npm by default, or not.
This was recently changed https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da41d7d490560bac63fa6b2ef3cd8f447a05ebf1
(In reply to Paul Zander from comment #1) > This was recently changed > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=da41d7d490560bac63fa6b2ef3cd8f447a05ebf1 Sure, but then, this should also apply for 20.15.1 and 22.4.1-r1, right?
To be honest. Is there a reason to keep them?