Node 10.15.1 ship with uncompatible npm 5.5.1 so whenever I tried to run npm i get error:
npm WARN npm npm does not support Node.js v10.15.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 downgraded to use node 8.15.0 but just want to bring up this issue.
Hi @supredee76,
Node 10.15.1 ships with NPM 6.4.1. Does npm ls -g --depth=0 list npm itself as installed package?
If yes, try to uninstall it with npm uninstall -g npm and then try again npm -v.
Chris,
Thank you! npm version 5.5.1 must have been from my previous installation. I'm surprise it persisted even after I uninstall everything, node+npm.
Anyway your solution works. thanks again.
Hi, I ran into this issue recently and I'd like to know how to prevent this from happening again.
Thanks @code-chris, I also had the same issue as @supredee76. npm uninstall -g npm worked for me as well.
also thanx! @code-chris, that helped me also, i changed the version so i could follow along with a udemy course, and ran into issues, and thanx @supredee76 for bringing it up!!!!
I faced the same issue and was able to get around by downgrading to node v8.16.0 from node v10.6
But I noticed both the times the npm version is 5.5.1.
It works like magic now but not able to understand the difference as both times, npm versions are same.
Similar issue here, I had to update npm to get around
npm install npm@latest -g
Most helpful comment
Chris,
Thank you! npm version 5.5.1 must have been from my previous installation. I'm surprise it persisted even after I uninstall everything, node+npm.
Anyway your solution works. thanks again.