Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: When the version with legacy dependencies removed will be ready?

Arsenii pro asked 6 years ago


According to this topic: https://mdbootstrap.com/support/error-after-update-to-angular-6/ was stated that 6.1.1 version of the library won't have legacy dependencies. I've downloaded version 6.1.1 package from profile -> my account -> orders & invoices -> MDB_ANGULAR_PRO_6.1.1.ZIP. Package doesn't have legacy dependencies but fails to compile with the following: ERROR in node_modules/@agm/core/services/google-maps-api-wrapper.d.ts(2,10): error TS2305: Module '"../node_modules/rxjs/Observable"' has no exported member 'Observable'. node_modules/@agm/core/services/managers/circle-manager.d.ts(2,10): error TS2305: Module '"../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 '"../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 '"../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 '"../node_modules/rxjs/Observable"' has no exported member 'Observable'. node_modules/@agm/core/services/managers/marker-manager.d.ts(2,10): error TS2305: Module '"../node_modules/rxjs/Observable"' has no exported member 'Observable'. node_modules/@agm/core/services/managers/polygon-manager.d.ts(2,10): error TS2305: Module '"../node_modules/rxjs/Observable"' has no exported member 'Observable'. node_modules/@agm/core/services/managers/polyline-manager.d.ts(2,10): error TS2305: Module '"../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'. Naturally, adding rxjs-compat dependency solves the problem. So the question is when the package won't need this dependency?

Damian Gemza staff commented 6 years ago

Dear Arsenii, Please note, that those warnings doesn't comes from our library, but from @agm library. Our MDB Angular is fully compatible with rxjs6. You have to open a ticket on @agm github: https://github.com/SebastianM/angular-google-maps Best Regards, Damian

Arsenii pro commented 6 years ago

Dear Damian, I see the point, sorry. Unfortunately this situation leads to problems with newcommers who also won't understand why the project is not working out of the box. May be you should comment out agm dependency (leave commented code with description in package) or add some additional info about the problem to getting started guide until they fix the problem. Btw they already have related open ticket: https://github.com/SebastianM/angular-google-maps/issues/1407 Best Regards, Arsenii

Damian Gemza staff commented 6 years ago

Thanks for your idea! I'll add this to our zip's. Best Regards, Damian


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags