Skip to content
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

CLI Upgrade output has too much whitespace #12653

Closed
johnpapa opened this issue Oct 19, 2018 · 1 comment · Fixed by #12715
Closed

CLI Upgrade output has too much whitespace #12653

johnpapa opened this issue Oct 19, 2018 · 1 comment · Fixed by #12715

Comments

@johnpapa
Copy link
Contributor

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/cdk@6.4.7 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/cdk@6.4.7 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/material@6.4.7 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/material@6.4.7 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/effects@6.1.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peerdependencies yourself.
npm WARN @ngrx/entity@6.1.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngrx/store@6.1.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngtools/webpack@6.2.4 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 angular-in-memory-web-api@0.6.1 requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.1 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.1 requires a peer of @angular/http@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@4.4.4 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 codelyzer@4.4.4 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 ngrx-data@6.1.0-alpha.4 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngrx-data@6.1.0-alpha.4 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/cdk@6.4.7 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/cdk@6.4.7 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/material@6.4.7 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/material@6.4.7 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/effects@6.1.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peerdependencies yourself.
npm WARN @ngrx/entity@6.1.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngrx/store@6.1.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.1 requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.1 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.1 requires a peer of @angular/http@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@4.4.4 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 codelyzer@4.4.4 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 ngrx-data@6.1.0-alpha.4 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngrx-data@6.1.0-alpha.4 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/effects@6.1.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peerdependencies yourself.
npm WARN @ngrx/entity@6.1.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngrx/store@6.1.0 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.1 requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.1 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.1 requires a peer of @angular/http@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@4.4.4 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 codelyzer@4.4.4 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 ngrx-data@6.1.0-alpha.4 requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngrx-data@6.1.0-alpha.4 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 ⚑
▶
@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 Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants