I just installed node v9.11.1
when I try to use npm I keep getting the following error:
npm WARN npm npm does not support Node.js v9.11.1
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.
npm WARN npm You can find the latest version at https://nodejs.org/
I tried to do npm i -g npm
but it couldn't update itself, it just kept throwing the same error above.
When I run npm -v
it says 5.5.1
it seems the latest version is currently 5.8.0
.
I tried deleting the folder and running the repair function on the node.js installer, but it didn't replace the module.