-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Nx failed to migrate older Angular version project 9.XX #26150
Comments
Thanks for reporting this! Could please share the |
Thanks for the provided information. Setting Let me know if that solves the issue. |
@Jay1989 Unfortunately, back in the day, the nx migrate @angular/cdk@10.1.3
nx migrate @angular/material@10.1.3 Remember to run the above with the same env variables as before. |
Please find below error while migrating Angular CDK and Angular material |
I see. Unfortunately, the fix for that issue was only released in Nx 11, and you're using an Nx version that's out of our support window. The next suggestion is far from ideal and something we'd never suggest for supported versions of Nx, but I think it is the best that can be done at this point for such an old version. You can try manually applying the fix in https://github.com/nrwl/nx/pull/4267/files to the Please let me know how it goes and if you need further assistance. |
@leosvelperez So, Do we need to update manually. since nx migration not able to handle this change. |
@Jay1989 the Angular Material migrations are not provided by Nx. Those are written and provided by the Angular team. Nx is only the CLI running the migrations. So, if there's an issue with the changes the migrations perform (or don't perform), that's something to check in the Angular Material repo. I'm going to close this issue since the original issue about the Nx CLI not running certain updates has already been addressed. Please feel free to create new issues if you find anything else is not working as you'd expect. |
Current Behavior
getting migration errors in tao path
Error: Command failed: npm install
at checkExecSyncError (child_process.js:616:11)
at Object.execSync (child_process.js:652:15)
at taoPath (C:\CI-UI-Workspace\WOA_Workspace2\CI-UI-Workspace\node_modules@nrwl\workspace\src\command-line\nx-commands.js:303:21)
Expected Behavior
it has to be succeeded
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
6.14.8
Operating System
Additional Information
node version 14.15.0
npm version 6.14.8
Angular migration - 9.xx to 10.xx
The text was updated successfully, but these errors were encountered: