Ignatius Andrew
Ignatius Andrew

Reputation: 8258

AotPlugin - Error: AppModule is not an NgModule

Configuring AOT for my application in angular2, Getting this error,checked the paths everything is fine..

Upvotes: 0

Views: 991

Answers (1)

Ignatius Andrew
Ignatius Andrew

Reputation: 8258

There are couple of reasons and may be many more.. will update as I find them.

  • typescript version error, Use version "2.0.10"
  • Check the path of the entry module in your webpack.config and tsconfig file

Upvotes: 2

Related Questions