Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942144 - net-libs/nodejs*: some nodejs versions don't come with npm by default
Summary: net-libs/nodejs*: some nodejs versions don't come with npm by default
Status: UNCONFIRMED
Alias: None
Product: Websites
Classification: Unclassified
Component: Packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-25 18:00 UTC by bajcsielias78
Modified: 2024-10-26 15:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bajcsielias78 2024-10-25 18:00:03 UTC
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.
Comment 2 bajcsielias78 2024-10-25 18:29:52 UTC
(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?
Comment 3 Paul Zander 2024-10-26 15:38:31 UTC
To be honest. Is there a reason to keep them?