Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

npm ERR! ngx-bootstrap@"^12.0.0" from the root project

I am upgrading to Angular 16; However, I don’t know which version I should modify for the dependencies below:

npm ERR! Found: @angular/animations@16.2.12
npm ERR! node_modules/@angular/animations
npm ERR!   @angular/animations@"^16.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/animations@"^17.0.0" from ngx-bootstrap@12.0.0
npm ERR! node_modules/ngx-bootstrap
npm ERR!   ngx-bootstrap@"^12.0.0" from the root project

Here is the package.json

"dependencies": {
        ...
        "@angular/animations": "^16.2.0",
        "ngx-bootstrap": "^12.0.0",
        ...
    },

Can you explain to me how I can solve this problem?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Downgrade ngx-bootstrap to v11.

v12 requires Angular v17.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading