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.

Hi! I’m trying to build my application with Angular2 AOT, but angular2-ladda throws this error:

Unexpected value 'LaddaModule in <MYPROJECT>/node_modules/angular2-ladda/module/module.d.ts' imported by the module 'AdminModule in <MYPROJECT>/src/admin/admin.module.ts'

An interesting discussion HERE

Could you update this lib to support AOT?

Thank u.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
theodorejbcommented, Jan 29, 2017

@Ks89 keyof is a new operator in TypeScript 2.1. The error should go away if you update your TypeScript dependency to v2.1+.

1reaction
Ks89commented, Jan 29, 2017

@theodorejb yes. with typescript 2.1 it is working thank u

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ahead-of-time (AOT) compilation - Angular
The AOT compiler detects and reports template binding errors during the build step before users can see them. Better security, AOT compiles HTML...
Read more >
Building an AOT Friendly Dynamic Content Outlet in Angular
Learn how to build a special module with a dynamic component outlet that can be included and used anywhere in your angular application....
Read more >
What is an AOT Friendly Horse? - Midwest AOT Clinic
This means that the horse is consistent and honest from day to day, not prone to bouts of random bad behavior. What does...
Read more >
Building an AOT Friendly Dynamic Content Outlet in Angular
(And no you don't have to be Chuck Norris!) If you stay tuned, I will help you get a solution up and running...
Read more >
difference between aot and aot - Lena's Italian Restaurant
For us to gain something from doing AOT compilation we will have to use some ... 2) Not all libraries can be refactored...
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