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.
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.
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
(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