Skip to content

--help must be run in a workspace. #16616

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

Closed
1 task done
dgp1130 opened this issue Jan 10, 2020 · 2 comments
Closed
1 task done

--help must be run in a workspace. #16616

dgp1130 opened this issue Jan 10, 2020 · 2 comments
Labels
area: @angular/cli freq1: low Only reported by a handful of users who observe it rarely P5 The team acknowledges the request but does not plan to address it, it remains open for discussion severity2: inconvenient type: bug/fix
Milestone

Comments

@dgp1130
Copy link
Collaborator

dgp1130 commented Jan 10, 2020

🐞 Bug report

Command

  • help

Is this a regression?

Don't know.

Description

Running ng generate --help outside of an Angular project throws an error. Help should not need to be in a specific project to function.

🔬 Minimal Reproduction

cd some/random/location/outside/an/angular/project
ng generate --help

🔥 Exception or Error

An unhandled exception occurred: Unable to locate a workspace file for workspace path.
See "/usr/local/google/home/douglasparker/Temp/ng-0xcBR4/angular-errors.log" for further details.

🌍 Your Environment


     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 8.3.21
Node: 10.15.3
OS: linux x64
Angular: 
... 

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.803.21
@angular-devkit/core         8.3.21
@angular-devkit/schematics   8.3.21
@schematics/angular          8.3.21
@schematics/update           0.803.21
rxjs                         6.4.0
@dgp1130 dgp1130 added type: bug/fix P5 The team acknowledges the request but does not plan to address it, it remains open for discussion freq1: low Only reported by a handful of users who observe it rarely severity2: inconvenient area: @angular/cli labels Jan 10, 2020
@ngbot ngbot bot added this to the Backlog milestone Jan 10, 2020
@alan-agius4
Copy link
Collaborator

Duplicate of #16241

@alan-agius4 alan-agius4 marked this as a duplicate of #16241 Jan 10, 2020
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular/cli freq1: low Only reported by a handful of users who observe it rarely P5 The team acknowledges the request but does not plan to address it, it remains open for discussion severity2: inconvenient type: bug/fix
Projects
None yet
Development

No branches or pull requests

2 participants