sabyasachibiswal / angular5-social-login

Social authentication module for Angular 5. Includes Facebook and Google login with AOT compatibility.
40 stars 74 forks source link

Error: Can't resolve 'rxjs/BehaviorSubject' #14

Open Stephen-Jawahar opened 6 years ago

Stephen-Jawahar commented 6 years ago

ERROR in ./node_modules/angular5-social-login/angular5-social-login.umd.js Module not found: Error: Can't resolve 'rxjs/BehaviorSubject' in 'C:\Users\Stephen Jawahar\login\node_modules\angular5-social-login' i 「wdm」: Failed to compile. ERROR in node_modules/angular5-social-login/auth.service.d.ts(1,10): error TS2305: Module '"C:/Users/Stephen Jawahar/login/node_modules/rxjs/Observable"' has no exported member 'Observable'. node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'. src/app/app.component.ts(13,38): error TS2304: Cannot find name 'OnInit'. src/app/app.module.ts(21,23): error TS2304: Cannot find name 'GoogleLoginProvid'.

can someone help me with this error

cloverhsc commented 6 years ago

You may need install 'rxjs-compat' if you use angular 6.

kriscoleman commented 5 years ago

thanks @cloverhsc , that works

lcdamy commented 5 years ago

thanks

AnkurArora007 commented 4 years ago

this works, thanks