Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve: Detected locally installed Ionic CLI, but it’s too old -- using global CLI?

ionic -v results in this warning:

[WARN] Detected locally installed Ionic CLI, but it’s too old -- using global CLI.

How to uninstall local Ionic CLI?

like image 915
Pavel Chuchuva Avatar asked Dec 23 '22 08:12

Pavel Chuchuva


1 Answers

ionic-cli has been updated to version 4.0.1 a couple of days ago.

https://github.com/ionic-team/ionic-cli/blob/develop/CHANGELOG.md

You should remove local cli by npm remove ionic --save-dev and use global one instead.

npm i -g ionic

PS: For ionic v1 project, you have to install @ionic/v1-toolkit now. https://www.npmjs.com/package/@ionic/v1-toolkit

like image 76
egor518 Avatar answered Jun 23 '23 00:06

egor518