Skip to content

Updating Angular to v13 installs a few Angular v14 packages #23284

@akaufmann

Description

@akaufmann

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Description

After I wanted to upgrade a NG v12 project to v13, some NG v14 packages were installed.
I run the update process via
ng update @angular/cdk@13 @angular/cli@13 @angular/core@13 @ngrx/store ng-mocks --force as ng update suggested it.
Bildschirmfoto 2022-06-03 um 15 51 05

However, the update installed a mixture of v13 and v14 packages.
Bildschirmfoto 2022-06-03 um 15 26 42

PS: I am not sure if the --force has anything to do with it, but I could not do the update without it.

🌍 Your Environment


$ ng version
Your global Angular CLI version (14.0.0-rc.0) is greater than your local version (13.3.7). The local Angular CLI version is used.

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

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

Angular CLI: 13.3.7
Node: 14.17.0
Package Manager: yarn 1.22.11
OS: darwin x64

Angular: 13.3.11
... core

Package                             Version
-------------------------------------------------------------
@angular-devkit/architect           0.1303.7
@angular-devkit/build-angular       13.3.7
@angular-devkit/core                13.3.7
@angular-devkit/schematics          12.2.17
@angular/animations                 14.0.0
@angular/cdk                        13.3.9
@angular/cli                        13.3.7
@angular/common                     14.0.0
@angular/compiler                   14.0.0
@angular/compiler-cli               14.0.0
@angular/elements                   14.0.0
@angular/forms                      14.0.0
@angular/language-service           14.0.0
@angular/platform-browser           14.0.0
@angular/platform-browser-dynamic   14.0.0
@angular/platform-server            14.0.0
@angular/router                     14.0.0
@schematics/angular                 13.3.7
rxjs                                6.6.6
typescript                          4.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions