Skip to main content
Version: v6

ionic doctor treat

Attempt to fix issues in your Ionic project

$ ionic doctor treat [options]

This command detects and attempts to fix common issues. Before a fix is attempted, the steps are printed and a confirmation prompt is displayed.

Optionally supply the id argument to attempt to fix a single issue. Use ionic doctor list to list all known issues.

Examples

$ ionic doctor treat 
$ ionic doctor treat git-not-used

Inputs

id

Description

The issue identifier