Problem when working with AOT
See original GitHub issueHi, thanks for contributing!
This project is maintained in my spare time, so in order to help me address your issue as quickly as possible, please provide as much of the following information as you can.
– Michael
Angular 2 version: rc.7 ng2-pagination version: latest Description of issue: Error when using AOT compiler Steps to reproduce: see above Expected result:
Actual result: Error: Unexpected value ‘Ng2PaginationModule’ imported by the module ‘SparepartM odule’ Demo: (if possible, edit this Plunker demo and paste the link to your fork)
Any relevant code:
import { Ng2PaginationModule } from 'ng2-pagination';
imports: [
SharedModule,
PalipediaDocumentModule,
Ng2PaginationModule,
ngc -p src
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:22 (9 by maintainers)
Top Results From Across the Web
The problems of Attack on Titan : r/ShingekiNoKyojin
He has anger issues and is not in control of his emotions. He even almost tried to kill a child.
Read more >5 Problems with Attack On Titan
Armin and Jean's characters are very similar in how their character types progress. A character with a deep flaw or fear, but working...
Read more >Diagnosing a JIT or AOT problem
By determining whether the JIT or AOT compiler is faulty and, if so, where it is faulty, you can provide valuable help to...
Read more >attack on titan season 4 problems - Forums
Read the topic about attack on titan season 4 problems on MyAnimeList, and join in the discussion on the largest online anime and...
Read more >Custom decorators not working using AoT and Ivy #31495
I had never tried AoT with Ivy Description I have a custom property decorator like this: export function Language(): Prope...
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 Free
Top 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

Created pull request #80 to resolve this. Tested with my AOT setup and the resulting build works.
@HristoKolev thanks for the detailed description there. I’ll get around to this next week probably.