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

Angular 6 compatability #37

Open
johnbindel opened this issue Jun 7, 2018 · 5 comments
Open

Angular 6 compatability #37

johnbindel opened this issue Jun 7, 2018 · 5 comments

Comments

@johnbindel
Copy link

When attempting to use in an Angular 6 application (with rxjs 6.2.0):

ERROR in ./node_modules/ng4-geoautocomplete/auto-complete.service.js
Module not found: Error: Can't resolve 'rxjs/Rx' in '\node_modules\ng4-geoautocomplete'

Please see this upgrade guide: https://github.com/ReactiveX/rxjs/blob/master/docs_app/content/guide/v6/migration.md#import-paths

@ishan123456789
Copy link
Contributor

Just use rxjs-compat It'll help you with most of the plugins that have not yet been upgraded to v6

@ManojSethuraman
Copy link

ManojSethuraman commented Jun 11, 2018

Will this be addressed soon i.e without using rxjs-compat?

@stefanwuthrich
Copy link

@johnbindel @ManojSethuraman you can try my fork: https://github.com/trovum/ngx-geoautocomplete
pull request added

@Kaidanov
Copy link

Kaidanov commented Jul 17, 2018

Did anyone solve this?

after
npm install rxjs@6 rxjs-compat@6 --save

getting

Package "ng4-geoautocomplete" has an incompatible peer dependency to "@angular/core" (requires ">=5.0.0-rc.0 <6.0.0||>=2.0.0 <5.0.0", would install "6.0.9").

@ishan123456789
Copy link
Contributor

You can download the package and import locally for the meantime @Kaidanov this way no dependency error will erupt.

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