-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
npx nx migrate latest is not updating angular dependencies #17100
Comments
Have you tried
|
@Coly010 same result with the mentioned command. It is not updating angular dependencies.
|
It says your package.json has been updated, can you show the changes it added to package.json? |
Updated package.json -
|
I have the same problem, Nx was successfully updated (16.2.1) but I'm stucked on previous angular 15 version. |
I had the same issue, but after deleting the |
Thanks for sharing your experience @ruskovweb |
@BenLune you can also use nx migrate to update angular dependencies. I did it and it worked just fine.
or else (just to save time)
|
So Nx now checks for existing versions of angular packages to run the migration. nx/packages/angular/migrations.json Lines 1034 to 1039 in 78b709e
The problem is it silently updated nx packages while keeping angular as is. That's what happened in my repo, where I have updated Nx to 15.7 because of some Nx features that were needed and forgot to pay attention at the angular versions that were kept at I believe nx had to bump angular by default, but this didn't happen. Or this only happens only with Now running |
@dmitry-stepanenko the The good news is that I was able to reproduce it and I can troubleshoot it properly. I'll be working on fixing this. In the meantime, you can avoid the issue by updating Nx in smaller increments (maybe a minor at a time). I know it's annoying, but it's just a workaround until we provide a proper fix. |
Hi @iKrishnaSahu , |
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
npx nx migrate latest
is not updating angular dependenciesIn previous version of nx,
npx nx migrate latest
used to update angular dependencies as well.package.json (after running
npx nx migrate latest
)Expected Behavior
It should update angular dependencies
GitHub Repo
No response
Steps to Reproduce
npx nx migrate latest
in existing angular based nx monorepoNx Report
Failure Logs
No response
Operating System
Additional Information
Is this an intentional change?
If yes, is this documented somewhere?
The text was updated successfully, but these errors were encountered: