Skip to content

CLI Upgrade output has too much whitespace #12653

Closed
@johnpapa

Description

@johnpapa

Bug Report or Feature Request (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [x ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

ngular CLI: 6.1.2
Node: 8.12.0
OS: darwin x64
Angular: 
... 

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.7.2
@angular-devkit/core         0.7.2
@angular-devkit/schematics   0.7.2
@schematics/angular          0.7.2
@schematics/update           0.7.2
rxjs                         6.2.2
typescript                   2.7.2

Repro steps

I ran ng update commands and some of them displayed several lines of blank output. See the series of events below.

No errors , but I found this odd and assume it shouldn't do that.

~/_git/vikings  ngrx ✗                                                                                  14d ⚑ ◒
▶ng -v
Your global Angular CLI version (7.0.1) is greater than your local
version (6.2.1). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".

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


Angular CLI: 6.2.1
Node: 8.12.0
OS: darwin x64
Angular: 6.1.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.8.4
@angular-devkit/build-angular     0.8.4
@angular-devkit/build-optimizer   0.8.4
@angular-devkit/build-webpack     0.8.4
@angular-devkit/core              0.8.4
@angular-devkit/schematics        0.8.1
@angular/cdk                      6.4.7
@angular/cli                      6.2.1
@angular/material                 6.4.7
@ngtools/webpack                  6.2.4
@schematics/angular               0.8.1
@schematics/update                0.8.1
rxjs                              6.3.2
typescript                        2.7.2
webpack                           4.20.2


~/_git/vikings  ngrx ✗                                                                                  14d ⚑ ◒
▶ng update
Your global Angular CLI version (7.0.1) is greater than your local
version (6.2.1). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
    We analyzed your package.json, there are some packages to update:

      Name                               Version                  Command to update
     --------------------------------------------------------------------------------
      @angular/cdk                       6.4.7 -> 7.0.0           ng update @angular/cdk
      @angular/cli                       6.2.1 -> 7.0.1           ng update @angular/cli
      @angular/core                      6.1.7 -> 7.0.0           ng update @angular/core
      @angular/material                  6.4.7 -> 7.0.0           ng update @angular/material
      rxjs                               6.3.2 -> 6.3.3           ng update rxjs


    There might be additional packages that are outdated.
    Or run ng update --all to try to update all at the same time.


~/_git/vikings  ngrx ✔                                                                                      14d
▶ng update @angular/cli @angular/core
Your global Angular CLI version (7.0.1) is greater than your local
version (6.2.1). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
    Updating package.json with dependency @angular/common @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/animations @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/language-service @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/http @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/core @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/compiler @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/forms @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/platform-browser @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/router @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/platform-browser-dynamic @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency @angular/compiler-cli @ "7.0.0" (was "6.1.7")...
    Updating package.json with dependency rxjs @ "6.3.3" (was "6.3.2")...
    Updating package.json with dependency @angular/cli @ "7.0.1" (was "6.2.1")...
    Updating package.json with dependency typescript @ "3.1.3" (was "2.7.2")...
UPDATE package.json (2805 bytes)
npm WARN @angular/[email protected] requires a peer of @angular/core@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/common@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/core@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/common@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peerdependencies yourself.
npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngtools/[email protected] requires a peer of typescript@~2.4.0 || ~2.5.0 || ~2.6.0 || ~2.7.0 || ~2.8.0 || ~2.9.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/http@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/compiler@>=2.3.1 <7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@>=2.3.1 <7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.

added 45 packages from 48 contributors, removed 8 packages, updated 22 packages, moved 2 packages and audited 39968 packages in 12.538s
found 0 vulnerabilities

UPDATE package.json (2807 bytes)
UPDATE src/polyfills.ts (3085 bytes)
npm WARN @angular/[email protected] requires a peer of @angular/core@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/common@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/core@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/common@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peerdependencies yourself.
npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/http@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/compiler@>=2.3.1 <7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@>=2.3.1 <7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.

added 34 packages from 51 contributors, removed 40 packages, updated 45 packages, moved 1 package and audited 39943 packages in 18.098s
found 0 vulnerabilities


~/_git/vikings  ngrx ✗                                                                                    14d ⚑
▶ng update
    We analyzed your package.json, there are some packages to update:

      Name                               Version                  Command to update
     --------------------------------------------------------------------------------
      @angular/cdk                       6.4.7 -> 7.0.0           ng update @angular/cdk
      @angular/material                  6.4.7 -> 7.0.0           ng update @angular/material


    There might be additional packages that are outdated.
    Or run ng update --all to try to update all at the same time.


~/_git/vikings  ngrx ✗                                                                                    14d ⚑
▶ ng update @angular/cdk @angular/material
    Updating package.json with dependency @angular/cdk @ "7.0.0" (was "6.4.7")...
    Updating package.json with dependency @angular/material @ "7.0.0" (was "6.4.7")...
UPDATE package.json (2806 bytes)
npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peerdependencies yourself.
npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/http@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/compiler@>=2.3.1 <7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@>=2.3.1 <7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.

updated 2 packages and audited 39943 packages in 6.791s
found 0 vulnerabilities










Complete! Please check the output above for any issues that were detected but could not be automatically fixed.









Complete! Please check the output above for any issues that were detected but could not be automatically fixed.

~/_git/vikings  ngrx ✗                                                                                    14d ⚑
▶

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions