Topic: MDB Admin Dashboard
geraint pro asked 6 years ago
Hi,
Are there specific installation instruction for getting the admin template working?
I purchased the PRO version and can't seem to get it to work.
Steps I took were:
- Unzip ng-admin-pro-6.1.2.zip to a development directory
- Run NPM i
- Run ng serve -o
The web page retuned Cannot GET /
....
vendor.js.map (vendor) 325 kB [initial] [rendered]
ERROR in node_modules/@agm/core/services/google-maps-api-wrapper.d.ts(2,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/circle-manager.d.ts(2,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/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 '"C:/Users/gerai/code/admindashboard/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 '"C:/Users/gerai/code/admindashboard/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 '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Observable"'
has no exported member 'Observable'.
node_modules/@agm/core/services/managers/marker-manager.d.ts(2,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/polygon-manager.d.ts(2,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@agm/core/services/managers/polyline-manager.d.ts(2,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/angular-calendar/dist/esm/src/components/day/calendarDayView.component.d.ts(3,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/angular-calendar/dist/esm/src/components/day/calendarDayView.component.d.ts(4,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/angular-calendar/dist/esm/src/components/month/calendarMonthView.component.d.ts(3,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/angular-calendar/dist/esm/src/components/month/calendarMonthView.component.d.ts(4,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/angular-calendar/dist/esm/src/components/week/calendarWeekView.component.d.ts(2,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/angular-calendar/dist/esm/src/components/week/calendarWeekView.component.d.ts(3,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/angular-resizable-element/dist/esm/src/resizable.directive.d.ts(2,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
node_modules/rxjs/Subject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subject'.
node_modules/rxjs/Subscription.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subscription'.
src/app/views/event-calendar/event-calendar.component.ts(8,10): error TS2305: Module '"C:/Users/gerai/code/admindashboard/node_modules/rxjs/Subject"' has no exported member 'Subject'.
i 「wdm」: Failed to compile.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 6 years ago
Dear geraint, Please do npm install rxjs-compat. These problems say that angular-calendar library is not compatible with current version of RxJS. This problem will be fixed with next release of MDB Angular. Best Regards, Damiangeraint pro commented 6 years ago
Hi Damian, Yes that fixed it up. Thanks again, Geraint