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: "export 'MdbValidateDirective' (imported as 'i5') was not found in 'ng-uikit-pro-standard'

itay pro asked 6 years ago


While trying to upgrade from 6.3.0 to 7.1.1, code builds in debug and fails in -- prod with 10s of errors:

export 'MdbValidateDirective' (imported as 'i5') was not found in 'ng-uikit-pro-standard'

and

export 'ɵfs1' (imported as 'i1') was not found in 'ng-uikit-pro-standard'

What am I doing wrong ?


itay pro answered 6 years ago


package.json: 

"ng-uikit-pro-standard": "git+TOKEN@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git",
 
running npm i and then ng build --prod has build errors
ng build and ng serve runs OK
 
Didn't try fresh installation
 
Removing node_modules and package-lock.json fixed it

Arkadiusz Idzikowski staff answered 6 years ago


Dear mdb2,

Could you please provide me with reproduction steps? In which way you're upgrading your project from 6.3.0 to 7.1.1?

Also, those errors are thrown while you're executing the which command? npm install, ng build, ng serve?

Does this problem exist in a fresh installation of MDB Angular 6.3.0 -> 7.1.1?

Have you tried to remove node_modules directory, package-lock.json file,s and try to execute npm install one more time?

Please provide me with the code of the following files: package.json, angular.json, app.module.ts



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