Issue
I was working with Ionic Framework using AngularJs. Every Thing was fine. However now, When I am trying to create now Ionic/Angular js Project, I am facing a problem with the capacitor, as following:
How to solve this problem? I could not found a solution from any of the previous posts.
Solution
Capacitor 3 was released 2 days ago, and your ionic cli version is not compatible with it, you need to update the ionic cli version
npm uninstall -g ionic
npm uninstall -g @ionic/cli
npm install -g @ionic/cli
the first one is only needed if you were using the old ionic CLI, it was renamed to @ionic/cli
long ago, but some people is still using it because they didn't know, so I put it here just in case
Answered By - jcesarmobile
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.