Skip to content

RXJS 6 compatibility #1538

@GeorgeKnap

Description

@GeorgeKnap

Version info

Angular: 6.0.0-rc.0

Firebase: 4.12.0

AngularFire: 5.0.0-rc.6

Other (e.g. Ionic/Cordova, Node, browser, operating system):

    "rxjs": "6.0.0-beta.3",
    "rxjs-compat": "6.0.0-beta.1",

How to reproduce these conditions

ng serve fails with following error

ERROR in ./node_modules/angularfire2/database/observable/fromRef.js
Module not found: Error: Can't resolve 'rxjs/operator/observeOn' in 'C:\Development\profile-web\node_modules\angularfire2\database\observable'

in the fromRef.js file needs to be fixed import
import { observeOn } from 'rxjs/operator/observeOn';
to
import { observeOn } from 'rxjs/operators/observeOn';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions