Skip to content

Migration from v8.x to v9.x installs latest @angular-devkit/build-angular (0.1000.0) and tslib (2.0.0) #18083

@LoganDupont

Description

@LoganDupont

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

/

Description

ng update @angular/cli@9 updates @angular-devkit/build-angular and tslib to latest version ("@angular-devkit/build-angular": "~0.1000.0" & "tslib": "^2.0.0") starting from a project with latest 8.x version.

🔬 Minimal Reproduction

I followed the 'During the update' steps from the Angular Update Guide.

  1. So I run ng update @angular/core@8 @angular/cli@8 in my workspace directory to update to the latest 8.x version.
  2. I created a git commit
  3. I tried to update to version 9 of Angular by running ng update @angular/core@9 @angular/cli@9.
  4. My project has now been updated to TypeScript 3.8.x
  5. "@angular-devkit/build-angular": "~0.1000.0" & "tslib": "^2.0.0" are installed

🔥 Exception or Error

/ 

🌍 Your Environment

 _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 8.3.28 Node: 10.16.1 OS: win32 x64 Angular: 8.2.14 ... animations, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router Package Version ----------------------------------------------------------- @angular-devkit/architect 0.803.28 @angular-devkit/build-angular 0.803.28 @angular-devkit/build-optimizer 0.803.28 @angular-devkit/build-webpack 0.803.28 @angular-devkit/core 8.3.28 @angular-devkit/schematics 8.3.28 @angular/cdk 8.2.3 @angular/cli 8.3.28 @angular/flex-layout 8.0.0-beta.27 @angular/material 8.2.3 @ngtools/webpack 8.3.28 @schematics/angular 8.3.28 @schematics/update 0.803.28 rxjs 6.5.4 typescript 3.5.3 webpack 4.39.2 

Anything else relevant?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions