-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating from 15.1.1 to 15.2.0 has @angular-devkit/build-angular@">=0.1102.19 <15.0.0" error #13259
Comments
Hello, I am also having this exact same issue. |
This is not per se an issue of NX. You are using "jest-preset-angular" version 12.2.2 which explicitly requires a version of Angular <15. See in your log:
And: https://github.com/thymikee/jest-preset-angular/blob/v12.2.2/package.json#L57 Tracking issue on their end: thymikee/jest-preset-angular#1838 |
I have not specified this version, it has always been added by the NX project. I beleive this might need to be updated in the migrations then? |
I've double checked. And you are right. Seems like it is added "per default". Looking at this: https://github.com/nrwl/nx/blob/master/packages/angular/src/generators/init/init.ts#L124 I've skimmed through the Angular 15 PR and saw quite some adaptions to karma but barely any to jest. I guess jest somehow slipped through. |
@n4imLess Is mostly correct :) It's not so much that is has slipped through, it's that However, you should be able to do |
Thanks @Coly010 ! |
Same behavior while trying to setup angular/material in a new workspace. |
@DrewImm If you run this command I would say, once you have run your generator, I'd recommend running It's undesirable behaviour under normal circumstances. |
|
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
I was just trying to
nx migrate latest
from my recent NX workspace 15.1.1. The migrate command worked, and when trying to do anpm install
I get the following error:Expected Behavior
npm install should properly install all packages and dependencies
Github Repo
No response
Steps to Reproduce
Nx Report
Additional Information
No response
The text was updated successfully, but these errors were encountered: