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

Ngxs + Angular 17 = not compatible?

When I install NGXS in my Angular 17 project I get this error:

Could not resolve dependency:
npm ERR! peer @angular/core@">=12.0.0 <17.0.0" from @ngxs/store@3.8.1

I don’t seem to find any specs on the NGXS website about what Angular versions I can and cannot use, but it seems to be an Angular version lower than 17? Am I doing something wrong because I can’t seem to find any official info on this. Is there anyone that has made this work? The install succeeded when I used the –force parameter, but this is a workaround rather than a solution.

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 :

The v17 support is pending PR.

Until this is release, you can just force the install with npm install --force or add an overrides section in your package.json

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