Closed markgoho closed 2 years ago
Hey there! Compatibility with angular cli's cache is working as expected for Nx, the cache cli commands on the other hand will not work. This is a side-effect of Nx being the CLI that is ran, not angular cli.
That being said, you can still specify cache options through the cli object as described here: https://angular.io/guide/workspace-config#cache-options
As a note, the cli
object lives in nx.json
instead of angular.json
or workspace.json
when using Nx.
I'm going to close this out since it is working how we would expect, but if you feel it should be reopened feel free to leave a message and we can do so.
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
trying to work with
ng cache
appears totally brokenExpected Behavior
https://angular.io/cli/cache these commands should work
Steps to Reproduce
try to run
npx ng cache
see errorsFailure Logs
Environment
I believe this issue may be related to #10646