Error message from `git-node v8 backport` is less helpful than in node-core-utils@3.4.0
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- git, javascript, node.js
調査の方向性
まず、報告に示されている存在しないコミットを使って git-node v8 backport コマンドを再現し、node-core-utils@3.4.0 と @node-core/utils@5.0.1 の出力を比較します。backport のエントリーポイントとエラーハンドリングを追跡します。完了の条件は、存在しないコミットによって Cannot read properties of undefined (reading 'replace') ではなく、具体的で役立つエラーが発生することです。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- JavaScript
- スター
- 313
- フォーク
- 137
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 24
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nodejs/node-core-utils のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
nodejs/node-core-utils#664 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
nodejs/node-core-utils#1164 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
nodejs/node-core-utils#1160 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
nodejs/node-core-utils#1151 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
nodejs/node-core-utils#1063 ·
nodejs/node-core-utils の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1414 ·
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·