Topic: Install issue of MDB5 Pro
npm install git+https://oauth2:xxx@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential --save npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: npm error Found: @angular/animations@undefined npm error node_modules/@angular/animations npm error @angular/animations@"^17.3.3" from the root project npm error npm error Could not resolve dependency: npm error peer @angular/animations@"^17.0.0" from mdb-angular-ui-kit@6.0.0 npm error node_modules/mdb-angular-ui-kit npm error mdb-angular-ui-kit@"git+https://oauth2:xxx@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential" from the root project
I tried to install @angular/animations@17.0.0. But doesnt work either.
How to solve it?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 6.0.0
- Device: Pc
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes
findok pro premium priority commented 7 months ago
There are my specs:
Angular CLI: 17.3.3 Node: 20.11.0 Package Manager: npm 10.7.0 OS: win32 x64
Angular: 17.3.3 ... animations, cli, common, compiler, compiler-cli, core, forms ... localize, platform-browser, platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.1703.3 @angular-devkit/build-angular 17.3.3 @angular-devkit/core 17.3.3 @angular-devkit/schematics 17.3.3 @schematics/angular 17.3.3 rxjs 7.8.1 typescript 5.3.3 zone.js 0.14.3
Arkadiusz Idzikowski staff commented 7 months ago
It looks like there are some conflicts in the dependencies versions required by the MDB Angular package and the one you already have in your project.
Please try to add the
@angular/animations@17.0.0
to thepackage.json
, removenode_modules
andpackage-lock.json
and try to reinstall all dependencies.