-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix
Description
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
muratcorlu, abauzac, moffeemoffee and luckylooke
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
ajaypbarokar commentedon Jun 1, 2018
@mnicic --verbose option is not available with ng serve command in angular CLI 6.
Please find below option that are available in Angular CLI 6
ng serve -h
usage: ng serve [options]
options:
--aot
Build using Ahead of Time compilation.
--base-href
Base url for the application being built.
--browser-target
Target to serve.
--common-chunk
Use a separate bundle containing code used across multiple bundles.
--configuration (-c)
Specify the configuration to use.
--deploy-url
URL where files will be deployed.
--disable-host-check
Don't verify connected clients are part of allowed hosts.
--eval-source-map
Output in-file eval sourcemaps.
--hmr
Enable hot module replacement.
--hmr-warning
Show a warning when the --hmr option is enabled.
--host
Host to listen on.
--live-reload
Whether to reload the page on change, using live-reload.
--open (-o)
Opens the url in default browser.
--optimization
Defines the optimization level of the build.
--poll
Enable and define the file watching poll time period in milliseconds.
--port
Port to listen on.
--prod
Flag to set configuration to "prod".
--progress
Log progress to the console while building.
--proxy-config
Proxy configuration file.
--public-host
Specify the URL that the browser client will use.
--serve-path
The pathname where the app will be served.
--serve-path-default-warning
Show a warning when deploy-url/base-href use unsupported serve path values.
--source-map
Output sourcemaps.
--ssl
Serve using HTTPS.
--ssl-cert
SSL certificate to use for serving HTTPS.
--ssl-key
SSL key to use for serving HTTPS.
--vendor-chunk
Use a separate bundle containing only vendor libraries.
--watch
Rebuild on change.
mnicic commentedon Jun 1, 2018
Hm... The official documentation says that the command still exists. See this wiki page.
Also, I did use it in previous revision of Angular CLI 6 (see the end of my question).
trojanc commentedon Jun 4, 2018
Same with
ng build projectName --verbose
Running ng build without specifying a project name works
ng build --verbose
When specifying a project name it no longer works
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..."
Command is done and nothing is built
MarcelMalik commentedon Jun 7, 2018
Same with
ng build projectName --verbose
and withng build projectName --show-circular-dependencies
.But
ng build --help
shows them as options:pavel-agarkov commentedon Jun 12, 2018
but you can still specify it in angular.json file:
mnicic commentedon Jun 12, 2018
@pavel-agarkov Right, it's another approach. But it's not solution for me.
vilanz commentedon Sep 3, 2018
@pavel-agarkov's suggestion can't be used in a library.
options: verbose
is valid only on applications.ng build --verbose
(using default project, @trojanc's suggestion) is not working for me on @angular/cli 6.1.5.--verbose
is an unknown option ofserve
#12367fix(@angular/cli): `--verbose` is an unknown option of `serve`
fix(@angular/cli): `--verbose` is an unknown option of `serve`
updating angular cli to my fork (#1)
angular-automatic-lock-bot commentedon Sep 8, 2019
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.