Update Cordova CLI not working

Hello,

when I write “ionic info” to my cmd, I get the following answer:

Your system information:

You have been opted out of telemetry. To change this, run: cordova telemetry on.
6.3.1

Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS:
Node Version: v6.7.0


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


At the end it says I should install Cordova. But I already did it just after I installed ionic. And when I do npm install -g cordova now again, I get the following message:

npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
C:\Users\morit\AppData\Roaming\npm\cordova → C:\Users\morit\AppData\Roaming\npm\node_modules\cordova\bin\cordova
C:\Users\morit\AppData\Roaming\npm
-- cordova@6.3.1 +-- cordova-common@1.4.1 | – glob@5.0.15
| -- inflight@1.0.6 – insight@0.8.3
-- request@2.75.0 – aws4@1.5.0

But ionic info still gives me the same message. Maybe it is because that minimatch warn? But how to fix it?

Thanks for your help

1 Like

@iNono I just hit the same issue, and it was just because of «You have been opted out of telemetry». Just ran cordova telemetry on and the warning is off… really strange!