Unknown option: '--verbose'

See original GitHub issue

Versions

Angular CLI: 6.0.7
Node: 8.9.0
OS: win32 x64
Angular: 6.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.7
@angular-devkit/build-angular     0.6.7
@angular-devkit/build-optimizer   0.6.7
@angular-devkit/core              0.6.7
@angular-devkit/schematics        0.6.7
@angular/cli                      6.0.7
@ngtools/webpack                  6.0.7
@schematics/angular               0.6.7
@schematics/update                0.6.7
rxjs                              6.2.0
typescript                        2.7.2
webpack                           4.8.3

Repro steps

  • ng new myapp
  • ng serve --verbose

Observed behavior

Unknown option: '--verbose'

Desired behavior

Expect to serve the app successfully.

Mention any other details that might be useful (optional)

It work’s on the following configuration:

Angular CLI: 6.0.0
Node: 8.9.0
OS: win32 x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

10reactions
pavel-agarkovcommented, Jun 12, 2018

but you can still specify it in angular.json file:

"options": {
    "verbose": true
}
9reactions
trojanccommented, Jun 4, 2018

Same with ng build projectName --verbose

ng --version

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

Angular CLI: 6.0.7
Node: 8.10.0
OS: linux x64
Angular: 6.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.6.5
@angular-devkit/build-angular      0.6.5
@angular-devkit/build-ng-packagr   0.6.5
@angular-devkit/build-optimizer    0.6.5
@angular-devkit/core               0.6.7
@angular-devkit/schematics         0.6.7
@angular/cli                       6.0.7
@ngtools/json-schema               1.1.0
@ngtools/webpack                   6.0.5
@schematics/angular                0.6.7
@schematics/update                 0.6.7
ng-packagr                         3.0.0-rc.5
rxjs                               6.2.0
typescript                         2.7.2
webpack                            4.8.3

Running ng build without specifying a project name works ng build --verbose When specifying a project name it no longer works

ng build my-lib --verbose
Unknown option: '--verbose'

Why would I want more logging for an already verbose output…we’ll, when building my library the build silently dies and I have no idea what is wrong… “The build worked fine yesterday…”

ng build my-lib
Building Angular Package

Command is done and nothing is built

Read more comments on GitHub >

github_iconTop Results From Across the Web

#29962 (Queryset.explain(verbose=True) doesn't work on non ...
I managed to get the exact same error when trying to use verbose=True with SQLite, which I assume is what you tried doing...
Read more >
javascript - Webpack when run in terminal it gives an "error ...
error: unknown option '-p' [webpack-cli] Run 'webpack --help' to see available commands and options npm ERR! code ELIFECYCLE C:\React ...
Read more >
ng build - Angular
Option Description Value Type Default Value ‑‑aot Build using Ahead of Time compilation. boolean true ‑‑base‑href Base url for the application being built. string ‑‑delete‑output‑path Delete...
Read more >
Error when reverting changes when git verbose console ... - Jira
When using verbose git command, discarding of changes does not work, using both embedded as system git. Error message is: error: unknown switch...
Read more >
Verbose error messages in Keycloak 17/Quarkus
... INFO logging turned on), and the error messages tell me to use the --verbose option. ... but when I run it, I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found