Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Cannot find module "rxjs/operators" in Ionic Angular

enter image description here

Im trying to run my Ionic project. It was working fine until some days ago, now I just can't run it, whatever I do. this error shows up! I tried removing Rxjs from package.json and node_modules, also commented out all the place I used Rxjs, still this error shows up. Tried in Ubuntu 16.04 with Node 8.9.0 and npm 4.5.0. Also tried the same running in windows still shows the same error! How do I fix this?

like image 880
Hisham Mubarak Avatar asked Dec 19 '17 12:12

Hisham Mubarak


1 Answers

try reinstalling rxjs of version 5.5.3 or newer

npm install @reactivex/[email protected]

this issue seems to be fixed in version 5.5.3 https://github.com/ReactiveX/rxjs/issues/2971

like image 175
Caner Avatar answered Sep 19 '22 01:09

Caner