Library not ready for AOT
See original GitHub issueThis library is not ready for aot compilation by ngc. It throws this error during AOT compilation
Error: Unexpected value 'TimeAgoPipe' declared by the module 'AppModule'
From what ic ould find its missing a file called “.metadat.json”. It is required for aot compilation of any angular 2 library. You can read it all about here - https://medium.com/@isaacplmann/getting-your-angular-2-library-ready-for-aot-90d1347bcad#.dugqwr8za
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Making your Angular 2 library statically analyzable for AoT
If you want to get your angular 2 library ready for AoT compilation, check out this article for an overview. If you're unable...
Read more >How to create AOT/JIT compatible Angular 4 library ... - LinkedIn
You want to create component library for Angular 4 and publish it on NPM. You want your library to be ready for further...
Read more >Angular 6 - AOT compilation on library to be used as lazily ...
This is working fine as long as i am running the main app in dev mode. When i try it in prod, it...
Read more >AOT: Unexpected value 'undefined' exported by the module ...
Given a library managed by the new angular-cli v6 library management system. ... ERROR in : Unexpected value 'undefined' exported by the module...
Read more >angular-aot-overlay - npm
This project contains TickTock library example. The library itself is small and the only thing it does is displaying current time (Plunker ...
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
Just PR’d this 🙂 https://github.com/AndrewPoyntz/time-ago-pipe/pull/4
Works great now, thanks!