I am getting the following error when compiling with AOT enabled:
ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /Users/Magnus/ng-workshop/XXXX/node_modules/ap-angular2-fullcalendar/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in /Users/Magnus/ng-workshop/XXXX/node_modules/ap-angular2-fullcalendar/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in /Users/Magnus/ng-workshop/XXXX/node_modules/ap-angular2-fullcalendar/node_modules/@angular/core/core.d.ts
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/Users/Magnus/ng-workshop/XXXX/src'
@ ./src/main.ts 4:0-74
@ multi ./src/main.ts
I am getting the following error when compiling with AOT enabled:
The error is not showing up when AOT is disabled