angular / angular/angular-cli

Failed update prevents further updates

オープン
#16,020 コメント 0 件 リアクション 11 件 担当者 0 名 GitHub で見る
area: @angular/cli freq2: medium severity3: broken type: bug/fix
主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
14時間 23分
マージ済み PR(30日)
162

説明

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

After a failed update such as described in https://github.com/angular/angular-cli/issues/16019, the project will have already been updated to the latest versions.

Attempting to update again will inform the user that everything is up to date.
```
kamik@RED-X1C6 MINGW64 /d/sandbox/clarity (update-9)
$ ng update @angular/cli @angular/core --next --force
Using package manager: 'npm'
Collecting installed dependencies...
Found 109 dependencies.
Fetching dependency metadata from registry...
Package '@angular/cli' is already up to date.
Package '@angular/core' is already up to date.
```

This is inaccurate as the update did not actually complete successfully. To redo the update, a user will have to manually undo commits and reinstall packages, and only then will they be able to attempt to update again.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

`ng update @angular/cli @angular/core --next --force` コマンドから始め、issue #16019 に記載された更新失敗のシーケンスを再現します。更新のエントリーポイントを追跡して、失敗した実行がすでに最新であると報告される理由を特定します。ユーザーがコミットを手動で元に戻したりパッケージを再インストールしたりせずに更新を再試行できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
cli, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。