Issue
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.
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
Answered By - Matthieu Riegler
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.