In Angular 8.0.3, when enable the ivy then flex-layout type error occur.
See original GitHub issueI am using angular 8.0.3
version in which by default enableIvy
is true. but When I have install the flex layout then type error occur:-
ERROR in __ng_typecheck__.ts(31,64): error TS2344: Type '"fxShow" | "fxShow.print" | "fxShow.xs" | "fxShow.sm" | "fxShow.md" | "fxShow.lg" | "fxShow.xl" | "fxShow.lt-sm" | "fxShow.lt-md" | "fxShow.lt-lg" | "fxShow.lt-xl" | "fxShow.gt-xs" | ... 17 more ... | "fxHide.gt-lg"' does not satisfy the constraint '"ngOnDestroy" | "ngAfterViewInit" | "ngOnChanges" | "activatedValue"'.
Type '"fxShow"' is not assignable to type '"ngOnDestroy" | "ngAfterViewInit" | "ngOnChanges" | "activatedValue"'.
__ng_typecheck__.ts(46,64): error TS2344: Type '"fxLayout" | "fxLayout.xs" | "fxLayout.sm" | "fxLayout.md" | "fxLayout.lg" | "fxLayout.xl" | "fxLayout.lt-sm" | "fxLayout.lt-md" | "fxLayout.lt-lg" | "fxLayout.lt-xl" | "fxLayout.gt-xs" | "fxLayout.gt-sm" | "fxLayout.gt-md" | "fxLayout.gt-lg"' does not satisfy the constraint '"ngOnDestroy" | "ngOnChanges" | "activatedValue"'.
Type '"fxLayout"' is not assignable to type '"ngOnDestroy" | "ngOnChanges" | "activatedValue"'.
How to resolve this type error???
when I have set the enableIvy
value false then error remove. But I want to enable the Ivy and also use the flex layout.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Flex Layout compilation error for SSR build with Angular Ivy
What I guess whats going on is that Ivy does not get the core module is already compiled and then failes in the...
Read more >cannot read property of undefined (reading 'id') angular
Call enableProdMode() to enable the production mode. Then the error Uncaught TypeError: Cannot read property 'apply' of undefined at XMLHttpRequest.desc.get as ...
Read more >@ng-bootstrap/ng-bootstrap | Yarn - Package Manager
This release bumps minimum supported versions to Angular 15.0.0, Bootstrap 5.2.3 and Popper 2.11.6. It also introduces support for standalone components, which ...
Read more >How to Use Async Pipe in Angular 8 application - Morioh
Here in the below code we are using observables of any type and to get the asynchronous flow data either we can use...
Read more >Angular 버전 변경 리스트 - change log
core: log error instead of warning for unknown properties and elements ... bazel: enable ivy template type-checking in g3 (#35672) (8f5b7f3) ...
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 FreeTop 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
Top GitHub Comments
What version of Flex Layout are you using?
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.