ENOENT after ionic-serve on unmodified starter template

I’m trying to get starting with an ionic2 app, so I tried using ionic start and ionic serve to run a starter template but the browser gives me the following error:

Error: ENOENT: no such file or directory, open '/path/to/app/MyStarterApp/www/index.html'

I did the following:

  1. ionic start MyStarterApp tutorial --v2 (I also tried sidemenu, same error, so maybe an error in the base template?)
  2. cd MyStarterApp
  3. ionic serve

If i enable server logs (by typing s at the ionic $ ), it gives

 serve / Error!

I’m on:

  • Ionic 2.1.0
  • npm 3.3.12
  • OS X El Capitan

I updated node and that fixed it.
My current setup:

cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.8.0

That didn’t work for me :frowning:
I’m now on npm 4.0.3
How can I get it to print the setup like in your post?

ionic info

This will show your system information.

I had the same problem after updating my Node. I just reinstalled Ionic and now it works again.

ionic needs to be reinstalled…
Please check here