Ionic serve not working after upgrade to CLI 3.7

The lastest LTS no latest, visit:

https://nodejs.org/en/

You got v6.11.2 LTS and v8.2.1 Current

1 Like

same issue, any one has solution?

1 Like

See the issue I linked above. Add your information to it or create a new one if your case is different. Only then the devs can do anything

1 Like

I just got the same error with a test project. As the other issue I linked to before referred to --lab and I didn’t use that, I created a new one that is clear that just using ionic serve is enough:

Please +1 the issue to make clear that multiple people have it!
AND comment and add your own ionic info output please, so maybe one can see similarities.

1 Like

Updated to Node v8.3.0
NPM v8.3.0
Ionic CLI v3.7.0!

Try to: run Ionic Serve -l
Error -
No command ‘ionic’ found, did you mean:
Command ‘ironic’ from package ‘python-ironicclient’ (universe)
Command ‘ironic’ from package ‘python3-ironicclient’ (universe)
Command ‘sonic’ from package ‘sonic’ (universe)
Command ‘ionice’ from package ‘util-linux’ (main)
ionic: command not found

It’s working for me now. but serve and serve --lab.

I had the same issue. I worked around by running:

npm remove ionic

then

npm install ionic@3.6.0

Hope this helps :slight_smile:

2 Likes

Interesting, I had the same problem. ionic serve simply ended.

However, I discovered that I had another ionic serve task running in a different project in another terminal window. So, at least for me, Ionic CLI 3.7 seems to fail if some of the ports are already bound, without an error message.

Not just for you: https://github.com/ionic-team/ionic-cli/issues/2619

Saved my life! I had the same thing… Had two tasks running which caused this issue using Ionic CLI 3.19. No error message, just simply ended.

Really it works for me. Thank you

Yes npm run ionic:serve --verbose is working for me, Thanks