Skip to main content
Version: v8

ionic repair

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.

Options

  • --cordova: Only perform the repair steps for Cordova platforms and plugins.