Unable to start my Ionic project

Hi i am trying to start my first Ionic project but this is giving plugin error. I have googled it on google but unable to find the solution. I have added AppData>Temp>plugman>git but it is not working.

C:\Users\Muhammad>ionic start IonicApp
Creating Ionic app in folder C:\Users\Muhammad\IonicApp based on tabs project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================] 100% 0.0s
Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip
[=============================] 100% 0.0s
Updated the hooks directory to have execute permissions
Update Config.xml
Initializing cordova project

Unable to add plugins. Perhaps your version of Cordova is too old. Try updating (npm install -g cordova), removing this project folder, and trying again. (CLI v1.7.11)

Cordova plugins are not related to plugman.
What does cordova -v displays?

I solve this problem by uninstalling all previous versions of

Cordova and ionic through command npm uninstall -g cordova and npm uninstall ionic
After that goto

C:\Users\Muhammad

and then delete the folders from with the name

.ionic and .corodova

After that again open cmd and write commands npm install -g cordova which will install Cordova and after installing Cordova restart/logoff your Pc then again goto cmd and install ionic by typing npm install -g ionic

And after that create new project it will work fine. Don’t forget to delete those folders otherwise it will generate same error.