Module build failed (app.js)


When I try to build my Ionic 2 Application I get the following error.

My folder structure is like this.


And my app.js is like this.

Any ideas why I cannot build my app.js?

Try updating to latest ionic cli and framework, maybe it has already been fixed, if you do update you will have to follow the transition instructions in the changelog because a few things changed, like they brought up gulp again into the project.