Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Stephen-Jawahar opened this issue May 8, 2018 · 4 comments
Open

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

Stephen-Jawahar opened this issue May 8, 2018 · 4 comments

Comments

@Stephen-Jawahar
Copy link

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
Copy link

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

@kriscoleman
Copy link

thanks @cloverhsc , that works

@lcdamy
Copy link

lcdamy commented Oct 25, 2018

thanks

@AnkurArora007
Copy link

this works, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants