You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve error message for project-specific ng commands outside a project #23481
Project-specific Angular CLI commands don't currently give a great error message when run in a workspace but outside a project. I forget the exact text but something along the lines of "No project available". We should improve this to clarify what we mean by project and ideally list out available projects in the workspace. Something like:
$ ng serve
This is a monorepository workspace and there are many projects you can serve. Run `ng serve <project>` to serve a specific application. Available projects are:
* my-app
* my-lib
* my-other-lib
In really big workspaces we might want to limit this list so we don't explode the console. Maybe limit to 5 or 10 projects with a suggestion to look at angular.json for more.
Activity
fix(@angular/cli): improve error message for project-specific ng comm…
fix(@angular/cli): improve error message for project-specific ng comm…
fix(@angular/cli): improve error message for project-specific ng comm…
fix(@angular/cli): improve error message for project-specific ng comm…
fix(@angular/cli): improve error message for project-specific ng comm…
fix(@angular/cli): improve error message for project-specific ng comm…
fix(@angular/cli): improve error message for project-specific ng comm…
angular-automatic-lock-bot commentedon Aug 1, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.