angular5-social-login icon indicating copy to clipboard operation
angular5-social-login copied to clipboard

Error: Can't resolve 'rxjs/BehaviorSubject'

Open Stephen-Jawahar opened this issue 6 years ago • 4 comments

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

Stephen-Jawahar avatar May 08 '18 07:05 Stephen-Jawahar

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

cloverhsc avatar May 08 '18 08:05 cloverhsc

thanks @cloverhsc , that works

kriscoleman avatar Sep 19 '18 19:09 kriscoleman

thanks

lcdamy avatar Oct 25 '18 10:10 lcdamy

this works, thanks

AnkurArora007 avatar Oct 06 '19 08:10 AnkurArora007