| Sep | OCT | Nov |
| 23 | ||
| 2019 | 2020 | 2021 |
COLLECTED BY
Collection: github.com
|
|
Are you trying to run this from inside a Angular project? Or globally , to use ng generate --help you need to be inside an Angular workspace. Let me know if that works, we can update the docs if needed. |
|
Yep, that was the problem. Outside of an angular project,
Although this might be a source of misunderstanding. Using the --help flag produces a different error than using the command itself: Best solution could be updating the error message a bit maybe. Thank you for the help! |
|
That's a good suggestion @alan-agius4 what's your thought on this? |
|
We should fix this |
fix(@angular/cli): require to run in a project if the help flag is pr…
2bb4dff
…esent\nCloses: angular#16241
fix(@angular/cli): require to run in a project if the help flag is pr…
50f08d1
…esent
Closes: angular#16241
arturovt
added a commit
to arturovt/angular-cli
that referenced
this issue
fix(@angular/cli): require to run in a project if the help flag is pr…
945290a
…esent
Closes: angular#16241
arturovt
added a commit
to arturovt/angular-cli
that referenced
this issue
fix(@angular/cli): require to run in a project if the help flag is pr…
0b2bdc2
…esent
Closes: angular#16241
arturovt
added a commit
to arturovt/angular-cli
that referenced
this issue
fix(@angular/cli): require to run in a project if the help flag is pr…
954a749
…esent
Closes: angular#16241
arturovt
added a commit
to arturovt/angular-cli
that referenced
this issue
fix(@angular/cli): require to run in a project if the help flag is pr…
4b311da
…esent
Closes: angular#16241
|
Please try to update the docs also because it can create a problem for person like me who is new in angular. Thanks. cli#basic-workflow |
|
Oh I believe it is really confused people who just new to angular cli and might be a kinda blocker for some, so this Here is the list of commands that does not work outside the angular project #19057:
|
Successfully merging a pull request may close this issue.
6 participants ●© 2020 GitHub, Inc. ●Terms ●Privacy ● ●Security ●Status ●Help ●Contact GitHub ●Pricing ●API ●Training ●Blog ●About You can’t perform that action at this time. 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.