I try updating my ionic cordova cli when i started getting issues installing the two package, but now ionic have been successfully installed and i have tried installing the
Here Is a ssl Error this error can be resolved using this piece of code
Copy and paste this code to nodejs command promt
npm set registry http://registry.npmjs.org/
100% working Enjoy.