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
Uninstall the global instance of npm:
npm uninstall -g npm
This will cause your system to fall back on the version of npm installed by node 9.1.0 and the warning will disappear.