Cant build,run freshly created ionic with cordova project on both platforms (ios,android)


I created a new angular ionic and added the cordova integration. When trying to build or run the project the following error appears:
Unknown argument: platform

Could you please help with this issue?


  • crickets.mp3 * … * crickets.mp3 * … * crickets.mp3 * … * crickets.mp3 *

You haven’t really provided enough information for anyone to help you here. Can you provide a sample project that reproduces the error? Can you provide the command you are using? Questions with information get responded to much faster

Try running ng add @ionic/cordova-builders

I think Ionic CLI is supposed to add that when you add the cordova integration, but might have failed to add for some reason.