1

I'm trying to use the devapp App on android but I'm getting the error

ng run app:ionic-cordova-serve --host=0.0.0.0 --port=8100 --cordova-mock [ng] Unknown option: '--cordova-mock'

[ERROR] ng has unexpectedly closed (exit code 1).

    The Ionic CLI will exit. Please check any output above for error details.

Any ideas? I'm using ionic version 4.10.3

2 Answers2

0

Install lastest @ionic/angular-toolkit

Djery-Tom
  • 121
  • 1
  • 2
0

Try this if it doesn't work

npm install -g @angular/cli
Krishna Karki
  • 749
  • 12
  • 31