Topic: Trying to install mdbootstrap 6.2.0 pro in jhipster 5.0.1 web application

Fotsing free asked 6 years ago


Trying to build the web-application for productive environment failed du to some errors as listed below. Can some help me to solved the problem? ERROR in node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.CompleterComponent.html(1,1878): : Directive MdbRowDirective, Expected 0 arguments, but got 1. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.CompleterComponent.html(1,1878): : Directive MdbRowDirective, Expected 0 arguments, but got 1. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.CompleterComponent.html(1,1410): : Directive MdbDropdownDirective, Expected 0 arguments, but got 1. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.CompleterComponent.html(1,53): : Directive MdbInputCompleteDirective, Expected 0 arguments, but got 1. [ERROR] error Command failed with exit code 2. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.CompleterComponent.html(1,53): : Directive MdbInputCompleteDirective, Expected 0 arguments, but got 1. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.ImageModalComponent.html(1,1149): : Expected 0-1 arguments, but got 2. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.ImageModalComponent.html(1,1190): : Expected 0-1 arguments, but got 2. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.ImageModalComponent.html(1,1631): : Property 'images' does not exist on type 'ImageModalComponent'. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.ImageModalComponent.html(1,1684): : Property 'cancelImageModel' does not exist on type 'ImageModalComponent'. [ERROR] error Command failed with exit code 1. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.SelectComponent.html(1,648): : Expected 0 arguments, but got 1. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.SelectComponent.html(1,982): : Directive SelectDropdownComponent, Expected 0 arguments, but got 1. (1,1): : Directive SelectDropdownComponent, Expected 0 arguments, but got 1. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.SelectDropdownComponent.html(1,319): : Expected 0 arguments, but got 1. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.MaterialChipsComponent.html(1,294): : Expected 1 arguments, but got 2. node_modulesng-uikit-pro-standardng-uikit-pro-standard.d.ts.MaterialChipsComponent.html(1,549): : Expected 1 arguments, but got 2. [ERROR] error Command failed with exit code 1. (1,1): : Directive SlideComponent, Property 'carousel' is protected and only accessible within class 'SlideComponent' and its subclasses. (1,1): : Directive CarouselComponent, Expected 0 arguments, but got 1. (1,1): : Directive NavbarComponent, Expected 0 arguments, but got 1.

Damian Gemza staff commented 6 years ago

Dear Fotsing, MDB Pro require to have pro license, and according to our system, you use MDB Free version. Please, provide us a number of your order or registered email to confirm your access to MDB Pro components. Send it to me on email: d.gemza@mdbootstrap.com About jHipster: We don't know if our library is compatible with jHipster because we haven't tested it, so I can't provide you any ready-to-use solution. Best, Damian

Fotsing free commented 6 years ago

Hello Damian, i've send you an email with the information about my pro account. Kind Regards,

paolotti00 free commented 6 years ago

Hi, the problem depends on this: https://postimg.cc/image/56ejjrrld/ in line 12, the carousell attribute is set as protected, if it were set as public, this would work. the problem also persists on the version 6.2.1, could you fix it? Kind Regards.

Damian Gemza staff commented 6 years ago

Dear paolotti00, We'll take a look at this, and we'll fix it with the next release. Best Regards, Damian

CaptainPants pro answered 6 years ago


Please see my post here https://mdbootstrap.com/support/webpack-aot-build-errors/ To fix these errors you must have the full source of the project and fix any event handlers that do not expect events: @HostListener('window:resize', ['$event']) onResize(): void {} Becomes : @HostListener('window:resize') onResize(): void {} Hopefully an upcoming version will fix all of these problems!

Damian Gemza staff commented 6 years ago

Dear CaptainPants, We'll fix this with next release of MDB Angular. Best Regards, Damian

Fotsing free commented 6 years ago

Great news. I'm really looking forward to seeing the bugs fixed.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

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