Closed mousavidev closed 4 years ago
Check the entries of "project" in both files and verify that you dont have any projects in only one of those files
Is there any way to sync the nx.json by angular.json
There should be an error message telling which projects are out of sync. However, could you expand on how you would like to be able to sync the two files?
@FrozenPandaz Getting same issue here, after upgrading to @nrwl/schematics: 8.4.13
@wimzyLive could you provide a github repo with a repro?
@vsavkin It's my work repo and so unable to share it here, but what I noticed is that when I updated schematics via cli it puts @nrwl/schematic
back to v7.2
, and also adds new package with name @nrwl/workspace
v8.0. I was receiving this error when I had @nrwl/schematics
and @nrwl/workspace
, once I removed @nrwl/schematics
package, this error goes away.
@wimzyLive Starting with 8.4.13, @nrwl/schematics
is replaced with @nrwl/workspace
. So your situation is interesting. Can you try running the update twice as described here: https://nx.dev/angular/guides/nx7-to-nx8#upgrading-from-nx-7-to-nx-8?
Folks. I'm going to close this issue. We patched up the upgrade process, and updated our guides to cover common gotchas. If you are still having problems upgrading from nx 7 to nx 8, please reopen the issue.
Thank you!
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.
npm run dep-graph
returns "angular.json and nx.json are out of sync.", Is there any way to sync the nx.json by angular.json?