npm does not support Node.js v10.15.3

(Mohammed El Afifi) #1

What I Wanted to Do

I was trying to build this package according to its file. As per the instructions there, I issued the command “npm run build”.

What Happened Instead

I got the following warning lines.

npm WARN npm npm does not support Node.js v10.15.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can’t make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at

Reproduction Steps

  1. Download Extract the archive and from within a command prompt change directory to the extracted folder.
  2. Run `npm install’.
  3. Run `npm run build’.


This’s from a node installation on windows 10 64-bit.

Platform Info

$ npm --versions
{ 'rsi.demo': '0.2.1',
  npm: '6.9.0',
  ares: '1.15.0',
  cldr: '33.1',
  http_parser: '2.8.0',
  icu: '62.1',
  modules: '64',
  napi: '3',
  nghttp2: '1.34.0',
  node: '10.15.3',
  openssl: '1.1.0j',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.23.2',
  v8: '',
  zlib: '1.2.11' }
$ node -p process.platform

(Lars Willighagen) #2

A dependency, @rsi/serviceregistry@0.2.0, is installing an older version of npm (5.8.0, the last version before this was fixed) for some reason, making it end up in node_modules/.bin which has a higher priority than the normal $PATH in lifecycle scripts. Since this isn’t a problem with npm itself I’ll move it to #support.


(Mohammed El Afifi) #3

Thanks. I’ve submitted a patch to @rsi/serviceregistry upstream to fix the problem.