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.

Trouble using the package with AoT

See original GitHub issue

Hi @flauc,

Decided to build my angular 2 project with AoT technique (https://angular.io/docs/ts/latest/cookbook/aot-compiler.html)

But got the following error on compilation:

Error: Unexpected value 'SimpleNotificationsModule' imported by the module 'AppModule'

Metadata needs to be generated for each component, to let ngc “see” your classes.

Here is a helpful discussion: https://github.com/michaelbromley/ng2-pagination/issues/74

Thanks for the package btw !

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:32 (12 by maintainers)

github_iconTop GitHub Comments

7reactions
Charkhancommented, Oct 18, 2016

Hey @flauc !

Any progress on this ? I tried on my own to get it working, but with no luck…

5reactions
flauccommented, Oct 17, 2016

Hey @montella1507,

Thanks for the link 👍 I’ll try this approach tomorrow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use apt-get to fix missing and broken packages - Linux Hint
Whatever the reason may be, the problem is that you receive an error and left ... Another approach to solving the broken package...
Read more >
Unable to correct problems, you have held broken packages
So there are two ways to fix this: Install the correct package version. Increase the aptitude of apt . To install the correct...
Read more >
[Fixed] "You have held broken packages" Error
In this article, we saw five different methods to fix the error "Unable to correct problems, you have held broken packages.
Read more >
How to Fix apt-get command not found in Linux - STechies
This apt-get command not found error using the following method: Using the correct package manager; Downloading the latest APT package; Reinstalling the OS....
Read more >
What to do when apt-get fails - Linux.com
Check the broken dependencies' availability. Run apt-get update to get the latest list of packages from your sources, then retry the ...
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