compilation error when use moment adapter
See original GitHub issueHi Daniel,
I have a compile error if I try to compile my application with aot
enabled
ERROR in ng-pick-datetime-moment\moment-adapter\moment-date-time.module.ts(19,2): Error during template compile of 'OwlMomentDateTimeModule'
Function expressions are not supported in decorators in 'NgModule'
'NgModule' contains the error at @angular\core\core.ts(194,31)
Consider changing the function expression into an exported function.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error when installing material-moment-adapter package in ...
You are trying to install a recent version ( 14.1.1 ) of @angular/material-moment-adapter to an Angular project which is on major version 10...
Read more >material-moment-adapter doesn't work in build-angular@0.901
Bug report Class with @angular/material-moment-adapter not opening in production build @angular-devkit/build-angular@0.901.0 version.
Read more >Angular Material Moment Adapter Example - StackBlitz
Starter project for Angular apps that exports to the Angular CLI.
Read more >@angular/material-moment-adapter | Yarn - Package Manager
Internationalized and accessible so that all users can use them. Straightforward APIs that don't confuse developers. Behave as expected across a wide variety...
Read more >angular/material-moment-adapter - npm
Angular Material Moment Adapter. Latest version: 15.0.3, last published: 12 days ago. Start using @angular/material-moment-adapter in your ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@barld Update ng-pick-datetime-moment to latest version (1.0.3)
It should be fixed.
Just what I needed this morning! Thanks