Your current installed version of npm is not compatible with the installed node.
Easy solution to fix it:
Mac:
sudo npm uninstall -g npm
Windows:
npm uninstall -g npm
Now you can install the new version of node directly from https://nodejs.org
Your current installed version of npm is not compatible with the installed node.
Easy solution to fix it:
Mac:
sudo npm uninstall -g npm
Windows:
npm uninstall -g npm
Now you can install the new version of node directly from https://nodejs.org
Get the latest posts delivered right to your inbox