question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem when working with AOT

See original GitHub issue

Hi, 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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:22 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
bnormoylecommented, Oct 6, 2016

Created pull request #80 to resolve this. Tested with my AOT setup and the resulting build works.

2reactions
michaelbromleycommented, Sep 28, 2016

@HristoKolev thanks for the detailed description there. I’ll get around to this next week probably.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found