Update ionic 2

I’ve just updated ionic 2 using npm install -g ionic@beta
when I ask for ionic info
I get Please install your Cordova CLI to version >=4.2.0 npm install -g cordova
when I try
npm WARN install Couldn’t install optional dependency: certificate has expired

what is the problem
thank you

So a key word here is optional.

This just means that npm could install something optional.

Whats your node -v? It might just be because your node version is older

1 Like

thank you I resove it
I should update cordova
$ npm install -g cordova @beta
but I npm doesn’t work correctly, I resolved it :slight_smile: