@angular/flex-layout/flex-layout"' has no exported member 'ObservableMedia'
See original GitHub issueBug Report
What is the expected behavior?
Project works as is, even after upgrading @angular/flex-layout
from 7.0.0-beta.22
to 7.0.0-beta.23
.
What is the current behavior?
error TS2305: Module ‘“…/…/…/node_modules/@angular/flex-layout/flex-layout”’ has no exported member ‘ObservableMedia’.
What are the steps to reproduce?
Providing a StackBlitz (or similar) is the best way to get the team to see your issue.
- StackBlitz starter using latest
npm
nightly release:
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Also upgraded Angular to 7.2.0 and TypeScript to 3.2.2.
Is there anything else we should know?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:7 (3 by maintainers)
Top Results From Across the Web
angular flex-layout error : has no exported member ...
For Angular 9. Install the 9.x version of flex-layout npm install --save @angular/flex-layout@9.0.0-beta.29. Add needed dependency:
Read more >angular/flex-layout - Gitter
Hello guys, l need help to start with FlexLayout ... has no exported member 'Observable'. node_modules/@angular/cdk/a11y/typings/key-manager/list-key- ...
Read more >ERROR in node_modules/@angular/flex-layout/extended ...
... has no exported member 'ɵNgClassImpl'. node_modules/@angular/flex-layout/extended/typings/class/class.d.ts(9,33): error TS2305: Module ...
Read more >type 'mediaquerylistevent' is not assignable to type ...
Flex -layout in versions 7.0.0-beta.20 and higher replaced ObservableMedia ... Angular 7:@angular/core/core has no exported member 'OpaqueToken' Related.
Read more >Chapter 7. Laying out pages with Flex Layout
Implementing responsive web design using the Flex Layout library; Using the ObservableMedia service; Changing the layout based on the viewport size;
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
ObservableMedia
was deprecated in 7.0.0-beta.19 and removed in 7.0.0-beta.23. Please use the nearly identicalMediaObserver
instead and consult the docs and CHANGELOGThanks,
media$
rather thanasObservable()
did the trick with that one