I keep getting told that Cordova is not up to date


#1

Whenever I run “ionic serve”, I get a dependency warning telling me to update Cordova to version 4.2.0(heh) and use the command “npm install -g Cordova”. No matter what I do, I keep getting the error. I’ve tried using sudo and also not installing globally. What should I do?

Here’s the “error”:
Antons-MacBook-Pro:ionreddit anton$ ionic serve


Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:

Please install your Cordova CLI to version >=4.2.0 npm install -g cordova