Nx migrate banner completely hides information on available updates
See original GitHub issueCurrent Behavior
Running ng update
in nx workspace no longer provides table with outdated packages, but instead display a banner: Nx provides a much improved version of "ng update".
.
Expected Behavior
For me, that one feels like regression, as I am no longer capable of using that for getting informed on outdated parts of my workspace.
Steps to Reproduce
Just run ng update
in workspace to get that obvious banner.
Environment
Node : 12.16.1 OS : darwin x64 yarn : 1.22.4
nx : Not Found @nrwl/angular : 11.0.0 @nrwl/cli : 11.0.0 @nrwl/cypress : 11.0.0 @nrwl/devkit : 11.0.0 @nrwl/eslint-plugin-nx : Not Found @nrwl/express : Not Found @nrwl/jest : 11.0.0 @nrwl/linter : 11.0.0 @nrwl/nest : Not Found @nrwl/next : Not Found @nrwl/node : Not Found @nrwl/react : Not Found @nrwl/schematics : Not Found @nrwl/tao : 11.0.0 @nrwl/web : Not Found @nrwl/workspace : 11.0.0 typescript : 4.0.5
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Angular Evergreen in Visual Studio tells me Angular is outdated. npx create-nx-workspace installed Angular 11.2.0 and 11.2.2 is current. I want to update it so I try ng update and I get… Nx provides a much improved version of “ng update”. It runs the same migrations, but allows you to:
ok fair enough so I gather there was nothing to update with the nx pieces and package.json did not change but what about Angular. I still want to update Angular. I copy paste the indicated FORCE_NG_UPDATE=true ng update and I get FORCE_NG_UPDATE=true : The term ‘FORCE_NG_UPDATE=true’ is not recognized as the name of a cmdlet So now I am off on a tangent researching what am I doing wrong and what’s this passing environment variable passing thing you mention above. And I try npm FORCE_NG_UPDATE=true ng update and of course that barks at me
Can you please be clear and explicit about how to override nx migrate and update Angular pieces?
Thanks
I got ng update to work on windows. The message of ‘If you need to use it, run “FORCE_NG_UPDATE=true ng update”.’ is close. But for me to get it to work I had to first set an environment variable set FORCE_NG_UPDATE=true Then ng update worked like a charm.