If you are nuking stuff, make the jump to nvm as well:
Uninstall your node, install nvm
(or nvm-windows
if you are on Windows), install a new node
(which includes npm
) with this, then install ionic
and cordova
again and try your command again. The problem should be gone.