Topic: How do I check what version of mbd I am using and steps to update when I upgrade angular from 17-18

Aakash Banerjee priority asked 1 day ago


So I am trying to update angular 17-18. I normally use the npm git installation method for mdbootstrap "mdb-angular-ui-kit": "git+https://oauth2:xxxxxxxxxx@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential.git"

is there a way to check the steps involved to update mdbootstrap stuff when I upgrade angular or updates are automatically pulled in?

I have executed all the steps in angular update guide for 17-18 and the site runs fine but I am not sure if anything needs to be updated for mdbootstrap and the version I am using.

Thanks for any help.


Aakash Banerjee priority commented 1 day ago

When I run npm install after executing the ng update steps for upgrading angular from 17-18 it gives me these errors now.

npm install npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: mdb-angular-ui-kit@6.1.0 npm error Found: @angular/animations@18.2.13 npm error node_modules/@angular/animations npm error @angular/animations@"^18.2.13" from the root project npm error peerOptional @angular/animations@"18.2.13" from @angular/platform-browser@18.2.13 npm error node_modules/@angular/platform-browser npm error @angular/platform-browser@"^18.2.13" from the root project npm error peer @angular/platform-browser@"18.2.13" from @angular/forms@18.2.13 npm error node_modules/@angular/forms npm error @angular/forms@"^18.2.13" from the root project npm error 2 more (@angular/platform-browser-dynamic, @angular/router) npm error npm error Could not resolve dependency: npm error peer @angular/animations@"^17.0.0" from mdb-angular-ui-kit@6.1.0 npm error node_modules/mdb-angular-ui-kit npm error mdb-angular-ui-kit@"git+https://oauth2:xx@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential.git" from the root project npm error npm error Conflicting peer dependency: @angular/animations@17.3.12 npm error node_modules/@angular/animations npm error peer @angular/animations@"^17.0.0" from mdb-angular-ui-kit@6.1.0 npm error node_modules/mdb-angular-ui-kit npm error mdb-angular-ui-kit@"git+https://oauth2:xx@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential.git" from the root project 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.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 4.0.0
  • Device: Macbook Pro
  • Browser: Mozilla
  • OS: MacOS 15.1
  • Provided sample code: No
  • Provided link: Yes