Topic: Version Error
tdespenza priority asked 1 year ago
To load plugin
Console Error
I'm using the latest version of the MDB ui kit and I'm getting the following error. Is there something I need to do differently?
These are my dependencies
"dependencies": {
"@angular/animations": "~15.1.0",
"@angular/cdk": "15.1.0",
"@angular/common": "~15.1.0",
"@angular/compiler": "~15.1.0",
"@angular/core": "~15.1.0",
"@angular/forms": "~15.1.0",
"@angular/platform-browser": "~15.1.0",
"@angular/platform-browser-dynamic": "~15.1.0",
"@angular/platform-server": "~15.1.0",
"@angular/router": "~15.1.0",
"@fortawesome/fontawesome-free": "^6.2.1",
"@module-federation/node": "~0.10.1",
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/platform-express": "^9.0.0",
"@nguniversal/express-engine": "~15.1.0",
"bootstrap": "^5.2.3",
"chart.js": "^3.1.1",
"cors": "~2.8.5",
"express": "~4.18.2",
"mdb-angular-ui-kit": "file:mdb-angular-ui-kit-4.0.0.tgz",
"reflect-metadata": "^0.1.13",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
}
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: Priority
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 4.0.0
- Device: Macbook Pro
- Browser: Firefox
- OS: MacOS
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 1 year ago
Could you please provide more information about this problem? Does this error occur when you try to run the app using
ng serve
command?Did you follow our installation guide to install and configure MDB Angular in your project?
https://mdbootstrap.com/docs/angular/pro/installation/
tdespenza priority commented 1 year ago
Yes. I followed the installation guide. It happens on ng serve when I go to the page with the MDB components.
Arkadiusz Idzikowski staff commented 1 year ago
I'm afraid this problem is not caused directly by our library. Do you use any custom configurations in your application?
I tried to find some information about this error and it looks like it may be connected to the module federation config. Our modules needs to be imported from the secondary entry points (like
mdb-angular-ui-kit/forms
). If you use a custom config, you will probably need to make sure that you include all those entry point separately (or enable an option that will handle secondary entry points for our library)tdespenza priority commented 1 year ago
Oh I see. Thanks. I was able to resolve it.
Chahyay free commented 1 year ago
Discover The Ordinary serum for your skincare routine at Chahyay. Choose from a range of effective products including The Ordinary Vitamin C Serum and The Ordinary Retinol Serum. Achieve healthier, brighter skin with Chahyay selection of high-quality serums. Shop now for beautiful, radiant skin.