Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MdbValidateDirective was not found

itay pro asked 6 years ago


Running ng build --prod produces a lot of:

WARNING in ./src/app/protected/document/document-expense/document-expense.component.ngfactory.js
99:240-263 "export 'MdbValidateDirective' (imported as 'i4') was not found in 'ng-uikit-pro-standard'

Is it already deprecated completely ?

PS. ng build works locally


Damian Gemza staff answered 6 years ago


Probably it should be enough. You have to check it with the next release.


itay pro answered 6 years ago


So deleting package-lock.json should be enough ?


Damian Gemza staff answered 6 years ago


Dear mdb2,

Maybe the old version of ng-uikit-pro-standard dependency is in your project because of package-lock.json file? Probably that's the case.

Best Regards,

Damian


itay pro answered 6 years ago


Update:

After removing nodemodules and npm i the issue resolved

Why do I need to remove node modules on every update ?



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: 7.0.0
  • Device: NA
  • Browser: NA
  • OS: NA
  • Provided sample code: No
  • Provided link: No