Error : RXJS -> Observable.fromEvent is not a function!


#1

Hello,

As soon as I go from rxjs 6.2.2 to 6.2.3 this error message appears … What should I do?

Error: Uncaught (in promise): TypeError: WEBPACK_IMPORTED_MODULE_2_rxjs_Observable.Observable.fromEvent is not a function
TypeError: WEBPACK_IMPORTED_MODULE_2_rxjs_Observable.Observable.fromEvent is not a function


#2

It’s probably not that upgrade, but rather that you dropped the compatibility layer. Imports have moved, see here.


#3

Thank you for your answer, I looked at the link that you sent me, I do not find any solution …