I got this error when i run ionic serve The Ionic CLI will exit. Please check any output above for error details.
my ionic info
$ionic info Ionic: ionic (Ionic CLI) : 4.0.1 (C:\Users\Pc\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.1.8 Cordova: cordova (Cordova CLI) : 8.0.0 Cordova Platforms : android 7.0.0 System: Android SDK Tools : 25.3.1 NodeJS : v6.10.1 (C:\Program Files\nodejs\node.exe) npm : 5.3.0 OS : Windows 10 Environment: ANDROID_HOME : C:\Users\Pc\AppData\Local\Android\sdk
Run the below command, being in root directory of Ionic project:
npm install @ionic/app-scripts@latest --save-dev
Then you can try Ionic serve or Ionic s.
I had a similar issue:
Assertion `args[1]->IsString()' failed.
A utility CLI has unexpectedly closed
I fixed that by installing natives lib through npm:
npm i natives
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With