-
Notifications
You must be signed in to change notification settings - Fork 12k
Unclear error message when a configuration is not present for a project #29742
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
Labels
area: @angular-devkit/architect
freq1: low
Only reported by a handful of users who observe it rarely
severity2: inconvenient
type: bug/fix
Comments
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Mar 4, 2025
…ion is mising This commit makes the error message more actionable. Closes angular#29742
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Mar 4, 2025
…ion is mising This commit makes the error message more actionable. Closes angular#29742
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Mar 4, 2025
…ion is missing This commit makes the error message more actionable. Closes angular#29742
Wow! Thanks for taking this on so quickly! Glad to help contribute to the community. I had filed this to submit a PR myself as a way to give back 😅 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: @angular-devkit/architect
freq1: low
Only reported by a handful of users who observe it rarely
severity2: inconvenient
type: bug/fix
Command
build
Is this a regression?
The previous version in which this bug was not present was
No response
Description
This is a similar issue as reported in #29226.
When running a target, if a configuration isn't present, an error message is presented, as seen in the node architect host here. This is helpful, but especially when dealing with complex nested projects, the error message is not very helpful, as the project/target in question is not indicated.
This can be improved by changing that line as follows:
Minimal Reproduction
Attempt to run any comment for a project:target with a configuration that does not exist. The project and target are not indicated in the error message.
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: