Hi all,
in order to be able to emulate my Ionic 2 app in windows phone emulator, I updated to Windows 10 yesterday.
Today, I started a new Ionic 2 project using
ionic start mySideMenu sidemenu --v2
However, when running
ionic serve
a browser windows open and says > Error: ENOENT: no such file or directory, open ‘D:[path]\index.html’
I created a project before updating to Windows 10. Serving this project still works fine.
The difference, as far as I can see, is that not serve:before npm tasks is not executed when running the serve command in the newly created project. The old project prompts
> Running ‘serve:before’ npm script before serve
> ionic-hello-world@ watch D:\temp\Ionic2VSCodeTest
> ionic-app-scripts watch
These lines do not appear when serving the new project.
What has changed? Any ideas?
Best regards,
Thomas