I updated to the latest node v9.1.0 and now npm doesn't work.
npm WARN npm npm does not support Node.js v9.1.0
It turns out that the current installed npm is not compatible with the new node and has a hard time updating.
npm
node
The solution is to uninstall npm and then reinstall node which will contain the correct version of npm.
Here's how:
Uninstall npm.
Mac: sudo npm uninstall -g npm Windows: npm uninstall -g npm
Install node from https://nodejs.org
1.4m articles
1.4m replys
5 comments
57.0k users