Hello,
I'm trying to create a new project with the new version of MDB Pro (6.0.2), but I'm having some difficulty.
Following the 5min quickstart, I could not install as mentioned:
npm install git + http: // oauth2_ [my token] _ @ git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save
I only managed with the correct name of the repository:
npm install git + http: // oauth2_ [my token] _ @ git.mdbootstrap.com/mdb/angular/ng-pro.git --save
And, when running the ng serve command, the following error is displayed:
ERROR in multi ./node_modules/font-awesome/scss/font-awesome.scss ./node_modules/ng-uikit-pro-standard/assets/scss/bootstrap/bootstrap.scss ./node_modules/ng-uikit-pro-standard/assets/scss/mdb.scss ./src/styles.scss
Module not found: Error: Can't resolve 'C:Projectstartaros-sitenode_modulesng-uikit-pro-standardassetsscssmdb.scss' in 'C:Projectstartaros-site'
ERROR in node_modules/ng-mdb-pro/free/dropdown/dropdown-toggle.directive.ts(2,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/ng-mdb-pro/free/dropdown/dropdown.directive.ts(3,12): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/ng-mdb-pro/free/dropdown/dropdown.directive.ts(158,9): error TS2339: Property 'filter'
does not exist on type 'EventEmitter<boolean>'.
node_modules/ng-mdb-pro/free/navbars/navbar.component.ts(3,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/ng-mdb-pro/free/navbars/navbar.service.ts(2,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/ng-mdb-pro/free/navbars/navbar.service.ts(3,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ng-mdb-pro/pro/autocomplete/directives/input.directive.ts(3,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ng-mdb-pro/pro/autocomplete/directives/input.directive.ts(4,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/ng-mdb-pro/pro/autocomplete/directives/list-context.directive.ts(3,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ng-mdb-pro/pro/autocomplete/directives/list-context.directive.ts(4,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/ng-mdb-pro/pro/autocomplete/services/base-data.service.ts(1,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/ng-mdb-pro/pro/autocomplete/services/completer-data.service.ts(1,9): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ng-mdb-pro/pro/autocomplete/services/completer.service.ts(2,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ng-mdb-pro/pro/autocomplete/services/local-data.service.ts(2,10): error TS2305: Module
'"C:/Projects/tartaros-site/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ng-mdb-pro/pro/autocomplete/services/local-data.service.ts(39,12): error TS2339: Property 'next' does not exist on type 'LocalData'.
node_modules/ng-mdb-pro/pro/autocomplete/services/remote-data.service.ts(2,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.node_modules/ng-mdb-pro/pro/autocomplete/services/remote-data.service.ts(71,8): error TS2339: Property 'map' does not exist on type 'Observable<Response>'.
node_modules/ng-mdb-pro/pro/autocomplete/services/remote-data.service.ts(79,14): error TS2339: Property 'next' does not exist on type 'RemoteData'.
node_modules/ng-mdb-pro/pro/autocomplete/services/remote-data.service.ts(83,14): error TS2339: Property 'error' does not exist on type 'RemoteData'.
node_modules/ng-mdb-pro/pro/file-input/classes/mdb-uploader.class.ts(2,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ng-mdb-pro/pro/file-input/classes/mdb-uploader.class.ts(3,10): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/ng-mdb-pro/pro/smoothscroll/mdb-page-scroll.directive.ts(21,9): error TS2305: Module '"C:/Projects/tartaros-site/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
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'.
Can you help me?
Appreciate.
Damian Gemza staff commented 7 years ago
Dear tomas_azevedo, latest version of MDB Angular is 6.1.1. You have to install our MDB Angular library from this repository: https://git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard Best Regards, Damian