AppModule is not an NgModule

by Stephen Fluin

2016-12-28

AppModule is not an NgModule
If you see the errorAppModule is not an NgModule when using the Angular CLI, then the solution is most likely to rollback your typescript version:
npm install typescript@2.0.3

Version 2.0.10 should also work.