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.

Support for RxJS 6 and Angular 6

See original GitHub issue

Compilation fails on Angular 6 RC1 and RxJS 6.0.0 RC.0 due to deprecated symbol imports

Without the rxjs-compat module, errors are all over the place because Flex-Layout imports symbols from prior to the new RxJS barrels exports.

Solution: a new Flex-Layout branch (6.0.0 ?) with support for Angular6 and RxJS6.

Update: I can see @ThomasBurleson is playing with a branch, thanks

ERROR in ./node_modules/rxjs/BehaviorSubject.js
Module not found: Error: Can't resolve 'rxjs-compat/BehaviorSubject' in '/Users/spock/project/dba/test/frontend/node_modules/rxjs'
 @ ./node_modules/rxjs/BehaviorSubject.js 6:9-47
 @ ./node_modules/@angular/flex-layout/esm5/core.es5.js
 @ ./node_modules/@angular/flex-layout/esm5/flex-layout.es5.js

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
julianobrasilcommented, May 14, 2018

You must include in your package.json:

"rxjs": "6.1.0",
"rxjs-compat": "6.1.0",
3reactions
julianobrasilcommented, Apr 2, 2018

You must include in your package.json:

"rxjs": "6.0.0-beta.1",
"rxjs-compat": "6.0.0-beta.1",
Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 6: Upgrading API calls to RxJS 6 - Metal Toad
Don't panic! There is a library called 'rxjs-compat' which provides shims for backwards compatibility. So your RxJS 5.x API calls and Observable ...
Read more >
Angular 6 Upgrade: Migrating to RxJS 6 - Techiediaries
If you are upgrading your Angular 4|5 project to Angular 6 which makes use of RxJS 6 you may be worried about the...
Read more >
Angular 5 to 6 Without Backward Compatible RxJS (rxjs-compat)
I'm involved in the rather arduous task of migrating a project from Angular 5.2.11 to 6.0.0, and I'm having some difficulty with RxJS...
Read more >
RXjs 6 and angular 6 - Material Design for Bootstrap
But why the hell you're using rxjs-compat and saying that it's angular 6 ready? This errors saying more then clearly: MDB is not...
Read more >
Support Angular 6: Upgrade to RxJS 6 - dbfannin/ngx-logger
Until then, you can npm install rxjs-compat on your application and it will make rxjs6 backwards compatible. I'm running a few angular 6 ......
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