Topic: warnings
Alessandro de Manzano pro asked 7 years ago
I've just updated to MDBPro 6.1.4 and now building the project I got many of these messages:
WARNING in ./node_modules/ng-uikit-pro-standard/ng-uikit-pro-standard.ngfactory.js
1170:225-244 "export 'MdbIconComponent' (imported as 'i1') was not found in 'ng-uikit-pro-standard'
WARNING in ./node_modules/ng-uikit-pro-standard/ng-uikit-pro-standard.ngfactory.js
1171:66-85 "export 'MdbIconComponent' (imported as 'i1') was not found in 'ng-uikit-pro-standard'
WARNING in ./node_modules/ng-uikit-pro-standard/ng-uikit-pro-standard.ngfactory.js
14:1969-1983 "export 'IconsModule' (imported as 'i1') was not found in 'ng-uikit-pro-standard'
What happens ?
Thanks
Ale
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 7 years ago
Dear Alessandro, I've tried to reproduce your case, but without success. Could you please describe me, which product you're using? ng-uikit-pro-standard or ng-uikit-pro-standard-compile? And any reproduction steps would be helpful too. Best Regards, Damiantimhaak pro commented 7 years ago
Hi I've had the same problem when doing a prod compile. Using git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git This only occures when doing 'ng build --prod'Damian Gemza staff commented 7 years ago
Dear timhaak, Could you please send me your project at d.gemza@mdbootstrap.com? I've tried with ng build, ng build --prod, ng serve, ng serve --prod and without any problems. Best Regards, DamianAlessandro de Manzano pro commented 7 years ago
It happens when I build prod: "ng build --prod". The build seems to works anyway. I do not (yet) use mdb-icon tag I'm using ng-uikit-pro-standard , I don't know what is ng-uikit-pro-standard-compile... Thanks! AleAlessandro de Manzano pro commented 7 years ago
Today I tried to remove node_modules/ and reinstall all with "npm i", now the prod build works fine, no more those nasty warnings ! Ale