Open janpio opened 6 years ago
Odd, I use cordova platform list
and parse the result: https://github.com/ionic-team/ionic-cli/blob/master/packages/@ionic/cli-utils/src/lib/integrations/cordova/index.ts#L121-L129
I noticed with those ionic info
outputs either it doesn't detect that Cordova is installed or it's Cordova 8.
Well, here I have a case where the Cordova CLI version is missing - with CLI 7.1.0: https://forum.ionicframework.com/t/cant-deploy-ionic-app-on-android-device/126238/3 https://forum.ionicframework.com/t/cant-deploy-ionic-app-on-android-device/126238/5
I noticed more and more posts in the forum that do include
ionic info
output to report "Cordova Platforms : none": https://forum.ionicframework.com/search?q=%22cordova%20platforms%22%20none%20order%3AlatestSee these two posts for a good example: https://forum.ionicframework.com/t/windows-10-sdk-missing/126215/3 https://forum.ionicframework.com/t/windows-10-sdk-missing/126215/5
So while
ionic info
is reporting that no platforms are installed, in reality there are platforms already added to the project which can be seen from theionic cordova platform list
output.