There is an error in compare npm/node versions

What I Wanted to Do

I have try to install an any package using npm

What Happened Instead

When i installed any package using npm, i get a warning about node version 10.12.02 does not supported because the cb() function never be will called, so i a did an node upgrade to 10.15.02 and packages instalations no longer given an error, but the warning still in there, sayng, You maybe need update node… etc to versions 6, 7, 8, 9. So, it’s not a big problem but it’s poor.

Reproduction Steps

Details

notice i received

npm WARN npm npm does not support Node.js v10.15.2
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 https://nodejs.org/
/usr/local/bin/create-react-app -> /usr/local/lib/node_modules/create-react-app/index.js

  • create-react-app@3.1.0
    added 91 packages from 45 contributors in 18.304s

Platform Info

$ npm --versions
v10.15.02
<!-- paste output here -->
$ node -p process.platform
linux -x64
<!-- paste output here -->

The problem is you have an old version of npm (which does not know about node 12!).

For interest, there was an older topic where improving the error messages was discussed: