Skip to content

Instantly share code, notes, and snippets.

@luismendes070
Created May 27, 2021 20:51
Show Gist options
  • Save luismendes070/c9283895e1af544cb8abaf3e6a89f7c0 to your computer and use it in GitHub Desktop.
Save luismendes070/c9283895e1af544cb8abaf3e6a89f7c0 to your computer and use it in GitHub Desktop.
npx ionic doctor treat
[WARN] For best results, please make sure you're logged in to Ionic.
Some issues can't be detected without authentication. Run:
ionic login
√ Detecting issues: 9 / 9 complete in 1.94s
[WARN] The Ionic CLI is installed locally.
While the CLI can run locally, there's no longer a reason to have it installed locally and it may cause some
confusion over configuration and versions.
To fix, the following step(s) need to be taken:
1) Run: npm uninstall --save @ionic/cli
$ ionic config set -g doctor.issues.ionic-installed-locally.ignored true (ignore this issue in the future)
$ ionic doctor treat ionic-installed-locally (attempt to fix this issue)
? Fix automatically? Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment