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.

I keep getting ERROR TypeError: __WEBPACK_IMPORTED_MODULE_5_rxjs_Observable__.Observable.fromEvent is not a function at new ImageLoader

Seems it has to be with the latest rxjs update. Can you please look into it?

Issue Analytics

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

github_iconTop GitHub Comments

8reactions
l1nknytocommented, Jul 5, 2018

here’s workaround for this problem, import rxjs/fromEvent before ionic-image-loader

import 'rxjs/add/observable/fromEvent';
import { IonicImageLoader } from 'ionic-image-loader';
2reactions
fbruncommented, Jul 9, 2018

Hi everyone,

I have the same error since i use @ionic-native 4.9.0. If i install old version 4.7.0, no more error. The 4.9.0 use rxjs 5.5.11 which correcting a bug in fromEventObservable : https://github.com/ReactiveX/rxjs/commit/b5ed59d8626376d16ac09aa98ac9c00835340fe3… which can maybe explain the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

RxJs Error Handling: Complete Practical Guide
As usual and like with any RxJs Operator, catchError is simply a function that takes in an input Observable, and outputs an Output...
Read more >
Error Handling - Learn RxJS
Errors are an unfortunate side-effect of development. These operators provide effective ways to gracefully handle errors and retry logic, should they occur.
Read more >
throwError - RxJS
A factory function that will create the error instance that is pushed. Returns. Observable<never>. Just errors and does nothing else. throw marble diagram....
Read more >
Handling Errors with RxJS - Bitovi
RxJS has operators designed to help you handle errors. Read on to learn these useful ones: catch and catchError , retry , and...
Read more >
How to handle and catch errors in Rxjs
So, who is to catch the error in the subscription? Using Rxjs Operators. cathError; throwError; EMPTY. Conclusion. In Rxjs, when we work with ......
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