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:
i
I had a similar issue. I tried several different solutions, and for some reason different ones worked on different machines. Because I'm an illogical masochist, I attempted to fix this issue in the same project on 3 different laptops instead of sending the new fixed version to the other laptops.
The best answer I came up with is to:
I think this approach should work for almost all instances.
Try replacing the package.json scripts parts. Worked for me.
"scripts": {
"build": "ionic build",
"serve": "ionic build",
"start": "npm run serve"
},
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
Simpy run
npm install @ionic/app-scripts@latest --save-dev
and then
ionic serve
This error is because of some audit during installing a plugin or adding a plug in