Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650276 - net-libs/nodejs - Update npm
Summary: net-libs/nodejs - Update npm
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-12 13:10 UTC by Adrian
Modified: 2018-03-15 20:28 UTC (History)
3 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 Adrian 2018-03-12 13:10:29 UTC
There is this very annoying bug in <npm-5.7.1 and all the nodejs packages on Gentoo come with npm-5.6.0: https://github.com/npm/npm/issues/17379

 It would be nice if the nodejs ebuilds installed a more recent npm version where this bug is fixed.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-15 15:17:28 UTC
1) We ship the npm version that upstream bundles.
2) We never shipped 5.6.0 as we skipped/missed the singular version that it was bundled with upstream.
Comment 2 Adrian 2018-03-15 15:21:27 UTC
so why do i have that version?

[root@blackhole:~]# which npm node
/usr/bin/npm
/usr/bin/node

[root@blackhole:~]# npm --version
5.6.0
[root@blackhole:~]# node --version
v9.8.0

[root@blackhole:~]# eix -I nodejs
[I] net-libs/nodejs
     Available versions:  0.12.18^t 4.8.7 6.9.4 6.11.5^t (~)6.13.0 (~)8.9.4^t (~)8.10.0-r1^t (~)9.7.1 (~)9.8.0 **99999999 {debug doc icu inspector +npm (+)snapshot +ssl systemtap test CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python2_7"}
     Installed versions:  9.8.0(12:10:01 03/12/18)(npm snapshot ssl -debug -doc -icu -inspector -systemtap -test CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python2_7")
     Homepage:            https://nodejs.org/
     Description:         A JavaScript runtime built on Chrome's V8 JavaScript engine
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-15 20:28:27 UTC
(In reply to Adrian from comment #2)
> so why do i have that version?

Because npm 5.6.0 was "re-issued"[1].



[1] https://github.com/nodejs/node/pull/18625