Remove and recreate dependencies and generated files
$ ionic repair [options]
This command may be useful when obscure errors or issues are encountered. It removes and recreates dependencies of your project.
For Cordova apps, it removes and recreates the generated native project and the native dependencies of your project.
Only perform the repair steps for Cordova platforms and plugins.