Riron / ionic-img-viewer

Ionic 2+ component providing a Twitter inspired experience to visualize pictures.
MIT License
283 stars 118 forks source link

Cannot find module "rxjs/operators" #104

Closed kzanagodev closed 6 years ago

kzanagodev commented 6 years ago

cli packages: (C:\Users\kevin\AppData\Roaming\npm\node_modules) @ionic/cli-utils : 1.17.0 ionic (Ionic CLI) : 3.17.0

global packages: cordova (Cordova CLI) : 7.0.1

local packages: @ionic/app-scripts : 3.0.1 Cordova Platforms : android 6.2.3 Ionic Framework : ionic-angular 3.8.0

System: Android SDK Tools : 26.0.2 Node : v6.10.3 npm : 5.5.1 OS : Windows 10

ionic-img-viewer : 2.9.0

Have you checked...

Hi,

My App crash after installing your plugin. I got ' Cannot find module "rxjs/operators" ' error while the app is launching. If I remove the import of IonicImageViewerModule in app.module.ts and in ngModule entry components the app launch fine.

Do you have any suggestion to fix it ?

Thank you.

kzanagodev commented 6 years ago

Fixed by :

The operators folder was strangely missing in my node_modules/rxjs folder

Whales1992 commented 6 years ago

First Option According to kzanagodev

Second Option

Jasminou commented 6 years ago

no options is working I'm having the same issues here

mcabs3 commented 6 years ago

my node modules folder has rxjs/operator (singular). maybe a typo somewhere?

Riron commented 6 years ago

It means that you're not using the right version - operators contains pipeable operators.

Please check your dependencies and probably user a lower version of the plugin.

mcabs3 commented 6 years ago

Yeah, looks like I was able to fix it by installing a newer version of rxjs.

npm i -S rxjs@5.3.3 or higher seems to solve it.

touy commented 6 years ago

ERROR in src/app/service.service.ts(6,28): error TS2307: Cannot find module 'rxjs/Operators'. have the same problem here when I download from git , which it's working fine for windows environment, but not working on centos 6.5

woeterman94 commented 6 years ago

Got the same issue when trying to build and deploy. TS2307: Cannot find module 'rxjs/Operators'.