error when compiling NG-ADMIN-PRO-6.1.2


Topic: error when compiling NG-ADMIN-PRO-6.1.2

williamzv pro asked 7 years ago

Just bought the MDB version Angular Pro version 1. unzip the zip file 2. npm install 3. ng serve -o and it gives error !!!   ERROR in node_modules/@agm/core/services/google-maps-api-wrapper.d.ts(2,10): error TS2305: Module '"/Users/.../Desktop/ng-admin-pro-6.1.2/node_modules/rxjs/Observable"' has no exported member 'Observable'.

birmain pro commented 7 years ago

The solution has been to unzip an original folder from ng-admin-pro-6.1.2. After: npm install rxjs-compat npm install once finished it compiles perfectly

Damian Gemza staff commented 7 years ago

Dear williamzv, @agm library may be not compatible with RxJS 6. So in case of using agm maps, please do: npm install rxjs-compat, or remove agm import from your app.module.ts 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
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No