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.

Works as expected in dev builds.

As soon as AOT is enabled, errors come up.

Module not found: Error: Can't resolve '@casl/ability/dist/types/Ability'

Is CASL not compatible with Angular 8?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
antony2809commented, Jun 8, 2020

Yeah, it works now. Thank you

1reaction
Olena-Stotskacommented, Jun 8, 2020

angular example app works fine, so close this.

Thanks for the issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ahead-of-time (AOT) compilation - Angular
The Angular ahead-of-time (AOT) compiler converts your Angular HTML and TypeScript code into efficient JavaScript code during the build phase before the browser ......
Read more >
What is AOT and JIT Compiler in Angular ? - GeeksforGeeks
AOT provides better security. It compiles HTML components and templates into JavaScript files long before they are served into the client ...
Read more >
Angular 8 - Ivy Compiler - Tutorialspoint
Angular 8 - Ivy Compiler, Ivy Compiler is the latest compiler for Angular ... In AOT compilation, the compiler will emit optimised code...
Read more >
A Brief Intro to Ahead-of-Time (AOT) Compilation in Angular
Starting with Angular version 9, the default compilation of choice is AOT. This means that whenever you build your Angular application for production...
Read more >
Are --prod and --aot options required in Ivy in Angular 9?
3 Answers 3 · Just-in-Time (JIT), which compiles your app in the browser at runtime. This was the default until Angular 8. ·...
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