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 Answers 2

0

Install lastest @ionic/angular-toolkit

Sign up to request clarification or add additional context in comments.

2 Comments

Might seem a stupid question but how do I check what version I am on and how do I update it?
in your package.json file... npm i @ionic/angular-toolkit
0

Try this if it doesn't work

npm install -g @angular/cli

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.