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

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

Closed
1 of 15 tasks
LoganDupont opened this issue Jun 30, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@LoganDupont
Copy link

🐞 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?

@alan-agius4 alan-agius4 added area: schematics/angular freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix labels Jun 30, 2020
@ngbot ngbot bot modified the milestone: Backlog Jun 30, 2020
@alan-agius4 alan-agius4 self-assigned this Jul 1, 2020
@mgechev mgechev closed this as completed in ef46548 Jul 1, 2020
mgechev pushed a commit that referenced this issue Jul 1, 2020
Resolve schematics collections from the workspace root, as otherwise it will be resolved from the temporary installed CLI version

Closes #18083
villelahdenvuo pushed a commit to villelahdenvuo/angular-cli that referenced this issue Jul 6, 2020
Resolve schematics collections from the workspace root, as otherwise it will be resolved from the temporary installed CLI version

Closes angular#18083
@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 Aug 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants