Error message from `git-node v8 backport` is less helpful than in node-core-utils@3.4.0
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- git, javascript, node.js
- Lĩnh vực
- cli, developer-experience
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lệnh git-node v8 backport với commit không tồn tại được nêu trong báo cáo, đồng thời so sánh đầu ra từ node-core-utils@3.4.0 và @node-core/utils@5.0.1. Truy vết điểm vào của backport và cách xử lý lỗi; hoàn tất khi commit bị thiếu tạo ra một lỗi cụ thể, hữu ích thay vì Cannot read properties of undefined (reading 'replace').
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Attempted to backport a commit that doesn't exist yet.
With node-core-utils@3.4.0:
$ npx --package=node-core-utils@3.4.0 -- git-node v8 backport df5724c11697b4fbe803adcb5a51020dea2d923f
Need to install the following packages:
node-core-utils@3.4.0
Ok to proceed? (y) y
npm WARN deprecated node-core-utils@3.4.0: This package has been renamed to @node-core/utils
(node:1406084) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
✔ Update local V8 clone
⠦ V8 commit backport
fatal: ambiguous argument 'df5724c11697b4fbe803adcb5a51020dea2d923f
^..df5724c11697b4fbe803adcb5a51020dea2d923f
': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument 'df5724c11697b4fbe803adcb5a51020dea2d923f
': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
$
With @node-core/utils@5.0.1:
$ npx --package=@node-core/utils@latest -- git-node v8 backport df5724c11697b4fbe803adcb5a51020dea2d923f
Need to install the following packages:
@node-core/utils@5.0.1
Ok to proceed? (y) y
✔ Update local V8 clone
❯ V8 commit backport
✔ Get current V8 version
✔ Generate patches
❯ Apply and commit patches to deps/v8
❯ Commit df5724c11697
✔ Apply patch
✔ Increment embedder version number
✖ Cannot read properties of undefined (reading 'replace')
✖ Cannot read properties of undefined (reading 'replace')
$
The error from the older version is a lot more indicative of what the actual problem is.
- Ngôn ngữ chính
- JavaScript
- Star
- 313
- Fork
- 137
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 24
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nodejs/node-core-utils
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
nodejs/node-core-utils#664 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
nodejs/node-core-utils#1164 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
nodejs/node-core-utils#1160 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
nodejs/node-core-utils#1151 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
nodejs/node-core-utils#1063 ·
Tất cả issue của nodejs/node-core-utils
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
palladius/rails8-app-on-gcp#145 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
dotenvx/dotenv-vscode#139 ·
-
test-change-proposal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
web-platform-tests/interop#1455 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
corsairdev/corsair#1764 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100