Open zlatsic opened 7 years ago
The same thing :(
Hi, same problem. Anyone found any way around ?
This library is not compatible with AOT. Try building with --aot=false
Anyone who have solved this? Getting same error
i'm getting the same error, with no success trying to fix it.
I'm trying to add datetime pickers to my application, but am getting this error:
Unexpected value 'DatePickerModule' imported by the module 'AppModule'. Please add a @NgModule annotation.
It happens when I'm importing the datepicker like so:import { DatePickerModule } from "angular-io-datepicker/src/datepicker/index";
Also, OverlayModule is imported normally.I think this might be due to the Angular version, since this package supports v4 and I'm using v5, but would like confirmation since I only recently started using Angular. If not, I'd appreciate any advice in fixing this problem.