My Ionic info:
cli packages: (/usr/lib/node_modules) @ionic/cli-utils : 1.9.2 ionic (Ionic CLI) : 3.9.2 global packages: Cordova CLI : 7.0.1 local pack
Use these commands in your prompt.
npm cache clear --force rm -rf node_modules/ npm install -d