Closed reimer-atb closed 4 years ago
Thank you for submitting the issue!
@philipreimer could you provide a repository with the before state?
@vsavkin driver-ui.zip
stumbled across the same problem and updating @angular-devkit/schematics solved my problem!
@EvtK could you elaborate how you updated @angular-devkit/schematics? Did you add it as a direct dependency to your nx workspace? Or did you update one of the dependencies that have @angular-devkit/schematics as a transitive dependency?
Sure, I had it as dev dependency already, so I simply updated it to the latest version with an npm i.
@EvtK thanks, after runningnpm i --save-dev @angular-devkit/schematics
migrating to nx8 seesm to complete without any errors
The migration also failed for me because of the schematics. I've noticed though that the update script of NX didn't update it along with @angular-devkit/build-angular. It might be nice to also upgrade @angular-devkit/schematics so that both remain aligned?
I verified that the migration works if you first update @angular-devkit/schematics
to >= 8.1.1. We don't want to pin the version for the package in the package.json, as it already has a direct dependency with the Angular CLI. I'll look at a fix to update the version before running the migration so it can continue successfully.
Closing this since there hasn't been any activity in a while.
Please re-open.
The issue has not been fixed. One still needs to run npm i --save-dev @angular-devkit/schematics@8....
before the update.
But this workaround is not even mentioned in the official update guide.
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.
Expected Behavior
Successful migration from nx7 to nx8 following the official migration guide
Current Behavior
Migration fails in third step when running
ng update @nrwl/workspace@8.4.8
with the following error message:Same error when using latest release
8.4.12
instead iof8.4.8
.Failure Information (for bugs)
Steps to Reproduce
ng update @nrwl/schematics@8.4.8
git commit -a -m "migrate to nx8"
ng update @nrwl/workspace@8.4.8
Context
Please provide any relevant information about your setup:
Failure Logs
Other
package.json: