angular / angular/angular-cli

Failed update prevents further updates

Đang mở
#16,020 0 bình luận 11 reaction 0 người được giao Xem trên GitHub
area: @angular/cli freq2: medium severity3: broken type: bug/fix
Ngôn ngữ chính
TypeScript
Star
27k
Fork
11.8k
Merge trung bình
14 giờ 23 phút
Pull request đã merge (30 ngày)
162

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với lệnh `ng update @angular/cli @angular/core --next --force` và tái hiện chuỗi cập nhật thất bại được mô tả trong issue #16019. Truy vết điểm vào của quá trình cập nhật để xác định lý do một lần chạy thất bại lại được báo cáo là đã được cập nhật; hoàn thành khi người dùng có thể thử lại việc cập nhật mà không cần hoàn tác commit thủ công hoặc cài đặt lại các gói.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
cli, tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.