Serve does not work (Ionic 4)

Which device you want run?May be app run time you can mobile device run using ionic serve -devapp
then you want run system ionic serve.May be it will be working.
Thank you!

This worked for me! Thanks!

I just read this reply, sorry. Hope you’ve fixed it already. But the problem you got is that you are trying to split a string that doesn’t have a value, as the error says.


Thanks for the heart!

Thks! This works for me. I’m in MacOs Mojave.

This worked for me! Thanks!

First, I deleted the node_modules and package-lock.json.

Then I updated the package.json to reflect that of a more up to date (and working) ionic project.

Finally, I ran npm install and everything worked.