GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Missing tsconfig break update process · Issue #16019 · angular/angular-cli

Missing tsconfig break update process #16019

New issue
Copy link
New issue
Copy link
Closed
#16063
Closed
Missing tsconfig break update process#16019
#16063
Copy link
Labels
area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity2: inconvenienttype: bug/fix
Milestone
v9-candidates

Description

@filipesilva
filipesilva
opened on Nov 1, 2019
Issue body actions

This issue impacts 9.0.0-rc.0 and happened while updating https://github.com/vmware/clarity.

Having a target that references a missing tsconfig file will prevent ng update from completing:

kamik@RED-X1C6 MINGW64 /d/sandbox/clarity (update-9)
$ ng update @angular/cli @angular/core --next --force
The installed Angular CLI version is older than the latest published version.
Installing a temporary version to perform the update.
Installing packages for tooling via npm.
C:\Users\kamik\AppData\Local\Temp\.ng-temp-packages-6VhtAc\ng -> C:\Users\kamik\AppData\Local\Temp\.ng-temp-packages-6VhtAc\node_modules\@angular\cli\bin\ng

> @angular/[email protected] postinstall C:\Users\kamik\AppData\Local\Temp\.ng-temp-packages-6VhtAc\node_modules\@angular\cli
> node ./bin/postinstall/script.js

+ @angular/[email protected]
added 254 packages from 205 contributors in 18.965s
Installed packages for tooling via npm.
Using package manager: 'npm'
Collecting installed dependencies...
Found 109 dependencies.
Fetching dependency metadata from registry...
                  Package "@angular-builders/custom-webpack" has an incompatible peer dependency to "@angular-devkit/build-angular" (requires ">=0.801.0", would install "0.900.0-rc.0").
                  Package "ts-api-guardian" has an incompatible peer dependency to "typescript" (requires "~3.4.0", would install "3.6.4").
    Updating package.json with dependency @angular/cli @ "9.0.0-rc.0" (was "8.3.17")...
    Updating package.json with dependency @angular/core @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency @angular/compiler-cli @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency @angular/language-service @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency @angular-devkit/build-angular @ "0.900.0-rc.0" (was "0.800.0")...
    Updating package.json with dependency @angular-devkit/build-ng-packagr @ "0.900.0-rc.0" (was "0.800.0")...
    Updating package.json with dependency ng-packagr @ "9.0.0-rc.1" (was "5.2.0")...
    Updating package.json with dependency @angular/compiler @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency @angular/common @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency @angular/forms @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency @angular/platform-browser @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency @angular/animations @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency typescript @ "3.6.4" (was "3.4.5")...
    Updating package.json with dependency @angular/platform-server @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency @angular/router @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency @angular/platform-browser-dynamic @ "9.0.0-rc.0" (was "8.0.0")...
    Updating package.json with dependency rxjs @ "6.5.3" (was "6.5.2")...
    Updating package.json with dependency zone.js @ "0.10.2" (was "0.9.1")...
UPDATE package.json (13504 bytes)
√ Packages installed successfully.
** Executing migrations of package '@angular/cli' **

>  Update an Angular CLI project to version 9.
Could not find (src/dev/tsconfig.spec.json)
×  Migration failed. See above for further details.

Instead we should warn the user and process with the rest of the update process.

Activity

  1. filipesilva
    added
    type: bug/fix
    freq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarely
    severity2: inconvenient
    area: @schematics/angular
    on Nov 1, 2019
  2. filipesilva
    added this to the 9.0.x milestone on Nov 1, 2019
  3. vikerman
    closed this as completedin #16063on Nov 6, 2019
  4. vikerman
    added 2 commits that reference this issue on Nov 6, 2019

    fix(@schematics/angular): warn when target references a missing tsconfig

    This issue will close once commit 9ba7805 is merged into the 'main' branch.
    9ba7805

    fix(@schematics/angular): warn when target references a missing tsconfig

    This issue will close once commit db08558 is merged into the 'main' branch.
    db08558
  5. angular-automatic-lock-bot commented on Dec 7, 2019

    @angular-automatic-lock-bot
    angular-automatic-lock-botBot
    on Dec 7, 2019
    More actions

    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.

  6. angular-automatic-lock-bot
    locked and limited conversation to collaborators on Dec 7, 2019
  7. mostafaibr
    added a commit that references this issue on May 29, 2026

    fix(@schematics/angular): warn when target references a missing tsconfig

    This issue will close once commit dac17a8 is merged into the 'master' branch.
    dac17a8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity2: inconvenienttype: bug/fix

    Type

    No type

    Projects

    No projects

      Milestone

      • v9-candidates

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.