Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find cordova integration in the default project

following the official getting started tutorial I get the following error when I try to deploy the application in my phone using this command: ionic serve --devapp (it works on browser):

[ERROR] Could not find cordova integration in the default project.

I get this error both on Windows and MacOS. I'm using Node 6.4.1 and Ionic CLI 4.10.3

Does the official tutorial missing something?

like image 951
user3471528 Avatar asked Feb 26 '19 14:02

user3471528


1 Answers

I had the same issue. In fact, with the default project, you have to copy the cordova assets to prepare the native build for mobile. You can find more info here : Ionic documentation

Try this :

ionic cordova prepare

And then go again with :

ionic serve --devapp
like image 119
Jonathan Bouloux Avatar answered Oct 20 '22 05:10

Jonathan Bouloux