Skip to content
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

fix(angular): log message about unsupported ng cache command #22154

Merged
merged 1 commit into from Mar 7, 2024

Conversation

leosvelperez
Copy link
Member

Current Behavior

Running nx cache clean throws an error stating the project "clean" does not exist. While this is correct (Nx CLI doesn't have a cache command and therefore tries to map it to nx <target> <project>), we could handle it and provide a better error message for Angular workspaces.

Expected Behavior

Running nx cache clean in an Angular workspace should tell the user that ng cache is not supported and provide guidance on how to achieve what they need.

Related Issue(s)

Fixes #22046

@leosvelperez leosvelperez self-assigned this Mar 5, 2024
@leosvelperez leosvelperez requested a review from a team as a code owner March 5, 2024 10:40
Copy link

vercel bot commented Mar 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Mar 5, 2024 10:42am

@FrozenPandaz FrozenPandaz merged commit 106a939 into nrwl:master Mar 7, 2024
6 checks passed
@leosvelperez leosvelperez deleted the angular/handle-ng-cache branch March 7, 2024 15:04
FrozenPandaz pushed a commit that referenced this pull request Mar 8, 2024
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'ng cache clean' returns error
2 participants