RXJS 6.3.3 Ionic TypeError: Observable.combineLatest is not a function

user9168386

Hello I have the problem that somehow I get this error in my Ionic Project:

rxjs_Observable__.Observable.combineLatest is not a function

im Using this Versions of RxJs:

"rxjs": "^6.3.3",
"rxjs-compat": "^6.3.3",

And the only time I use Observable is like this:

import { Observable } from 'rxjs';

Edit:

after debugging I can see the Error gets thrown on this line in my html:

<div ngxErrors="email" #emailErrors="ngxErrors">
  <div [ngxError]="['email', 'required']" [when]="['touched']" class="errorMessage">It should be a valid email</div>
</div>
user9168386

After long search I found the answer. I was using this ngxerrors module which works fine with RXJS 5 but not with RXJS 6.

Sadly there is still no fix for it and the pull request on github to fix this for RXJS 6 is not accepted.

Maybe there will be a fix someday :)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

combineLatest reset observable - Rxjs

Rxjs combinelatest observable value is undefined

Angular 2 and Ionic 3 - TypeError: (...) is not a function

Ionic 3 TypeError: this.http.post is not a function

rxjs__WEBPACK_IMPORTED_MODULE_3__.Observable.throw is not a function at

TypeError: _rxjs.Observable.fromPromise is not a function

How to subscribe multiple observable in rxjs 6 ? do is not a function in rxjs 6

ionic 3 "TypeError: this is null"

RxJS combineLatest add timer to only one observable

Unsubscribing to rxjs observable using takeUntil and combineLatest not working

getting TypeError: .finalize is not a function in Rxjs6

Rxjs: Observable.combineLatest vs Observable.forkJoin

How to use combineLatest with flatMap in rxjs6?

TypeError: rxjs__WEBPACK_IMPORTED_MODULE_2__.Observable.throw is not a function

TypeError: Observable_1.Observable.fromEvent is not a function in ng2-bs3-modal/ng2-bs3-modal module

Ionic 3 - Update Observable with Asynchronous Data

How to add loader for Observable in Ionic 3 app?

rxjs combineLatest and Anguar2 change detection on Observable Arrays

How to supply an Rxjs observable as data for a method using combineLatest in Jasmine

RxJS Observable with Subject, polling via timer and combineLatest does not fire

Issue with ionic 3 movefile function

Ionic Storage v3 - Unit Tests | TypeError: _this.storage.forEach is not a function

Cordova Ionic 3 deviceready not fired on android 6

How to solve rxjs Typescript error (Ionic 3, angularfire2)

Using AngularFireStore with ionic 3 (angular 5 + rxjs5)

Wrap an API function in an RxJs Observable

RxJS Observable with asynchronous subscriber function

Observable.fromEvent is not a function - RxJS

rxjs: Observable.of(...).delay is not a function