Angular-google-maps: Angular 6 update

Created on 14 May 2018  ·  13Comments  ·  Source: SebastianM/angular-google-maps

It is not working with Version 6.0.1
the problem is with RXJS 6

Most helpful comment

The problem is with RXJS 6
i dont want to install rxjs-compat

All 13 comments

it worked for me on Angular 6.0.0, I have rxjs-compat installed

The problem is with RXJS 6
i dont want to install rxjs-compat

When it might be resolved? I see some pull request but not merged

Thanks @hasanenalbana for the workaround. I just moved with this and will remove it when it will be updated.

I got the error below using Angular v6.0.1 + rxjs 6.1.0:

ERROR in node_modules/@agm/core/services/google-maps-api-wrapper.d.ts(2,10): error TS2305: Module '"/Users/juarezfilho/Playground/pack+and+go/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/circle-manager.d.ts(2,10): error TS2305: Module '"/Users/juarezfilho/Playground/pack+and+go/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/data-layer-manager.d.ts(2,10): error TS2305: Module '"/Users/juarezfilho/Playground/pack+and+go/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/info-window-manager.d.ts(1,10): error TS2305: Module '"/Users/juarezfilho/Playground/pack+and+go/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/kml-layer-manager.d.ts(2,10): error TS2305: Module '"/Users/juarezfilho/Playground/pack+and+go/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/marker-manager.d.ts(2,10): error TS2305: Module '"/Users/juarezfilho/Playground/pack+and+go/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/polygon-manager.d.ts(2,10): errorTS2305: Module '"/Users/juarezfilho/Playground/pack+and+go/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/polyline-manager.d.ts(2,10): error TS2305: Module '"/Users/juarezfilho/Playground/pack+and+go/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'.

Installing rxjs-compat did the trick for now. Thanks @hasanenalbana 👍

+1 for Angular/RXJS 6 update

@hasanenalbana how can i install rxjs-compat

Dear @PabloAguero you can follow the RxJs 5 -> 6 upgrade guide here: https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md

@SebastianM I love this lib! It would be awesome to get it upgraded for 6.0.

npm -i rxjs-compat

On Wed, May 23, 2018, 08:19 PabloAguero notifications@github.com wrote:

@hasanenalbana https://github.com/hasanenalbana how can i install
rxjs-compat


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SebastianM/angular-google-maps/issues/1402#issuecomment-391203590,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJWvTvR1_NMBygBO1BJaAD2A0hosj_VLks5t1M5AgaJpZM4T9SWS
.

There's already an issue for that: #1384

Angular 6 is now supported

npm install rxjs-compat did the trick!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChrisDevinePimss picture ChrisDevinePimss  ·  3Comments

ostapch picture ostapch  ·  4Comments

gnujeremie picture gnujeremie  ·  3Comments

nthonymiller picture nthonymiller  ·  4Comments

alexweber picture alexweber  ·  4Comments