Topic: Angular Pro Dependency name

tomas_azevedo pro asked 6 years ago


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 6 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

tomas_azevedo pro answered 6 years ago


Thanks for the answer Damian, I got it now after you gave me a grant in this repository. It worked!

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