Topic: Unable to install MDB Package
varunsingh91
pro premium priority asked a week ago
Expected behavior Installation issue - Facing issue while installing mdb angular as well as mdb angular pro.
Actual behavior ng add mdb-angular-ui-kit --legacy-peer-deps ✔ Determining Package Manager › Using package manager: npm ✔ Searching for compatible package version › Found compatible package version: mdb-angular-ui-kit@8.0.0. ✔ Loading package information from registry ✔ Confirming installation ✖ Unable to install package
npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: app@0.0.0 npm error Found: @angular/core@19.2.9 npm error node_modules/@angular/core npm error peer @angular/core@"19.2.9" from @angular/common@19.2.9 npm error node_modules/@angular/common npm error peer @angular/common@"19.2.9" from @angular/forms@19.2.9 npm error node_modules/@angular/forms npm error @angular/forms@"^19.2.0" from the root project npm error peer @angular/common@"19.2.9" from @angular/platform-browser@19.2.9 npm error node_modules/@angular/platform-browser npm error peer @angular/platform-browser@"19.2.9" from @angular/forms@19.2.9 npm error node_modules/@angular/forms npm error @angular/forms@"^19.2.0" from the root project npm error 4 more (@angular/platform-browser-dynamic, ...) npm error 5 more (@angular/platform-browser-dynamic, ...) npm error peer @angular/core@"19.2.9" from @angular/forms@19.2.9 npm error node_modules/@angular/forms npm error @angular/forms@"^19.2.0" from the root project npm error 6 more (@angular/platform-browser, ...) npm error npm error Could not resolve dependency: npm error mdb-angular-ui-kit@"8.0.0" from the root project npm error npm error Conflicting peer dependency: @angular/core@19.2.10 npm error node_modules/@angular/core npm error peer @angular/core@"19.2.10" from @angular/animations@19.2.10 npm error node_modules/@angular/animations npm error peer @angular/animations@"^19.0.0" from mdb-angular-ui-kit@8.0.0 npm error node_modules/mdb-angular-ui-kit npm error mdb-angular-ui-kit@"8.0.0" from the root project npm error peerOptional @angular/animations@"19.2.10" from @angular/platform-browser@19.2.10 npm error node_modules/@angular/platform-browser npm error @angular/platform-browser@"^19.2.0" from the root project npm error 1 more (@angular/forms) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /Users/developer/.npm/_logs/2025-05-13T06_58_42_838Z-eresolve-report.txt npm error A complete log of this run can be found in: /Users/developer/.npm/_logs/2025-05-13T06_58_42_838Z-debug-0.log
Resources (screenshots, code snippets etc.)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 8.0.0
- Device: MACBOOK
- Browser: Safari
- OS: MAC
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented a week ago
It seems like there are some conflicts in the dependencies. Please try to use
npm install --force
or try to reinstall the dependencies (removenode_modules
and usenpm install
again) before usingng add mdb-angular-ui-kit
.