Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

fix error with giant diff

オープン
#75 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
git, javascript, nodejs
領域
cli, devtools

調査の方向性

変更をステージングした後、git gpt commit コマンドで失敗を再現します。インストールされたパッケージの index.js に示されているエントリポイント gptCommit から開始し、1Password のソケットエラーに関連する失敗した Git commit を追跡します。コマンドが正常に完了し、ステージング済みの変更を失うことなく commit オブジェクトを書き込めれば完了です。

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

説明

> [email protected] clean /Users/ryotamurakami/nsx
> rimraf pnpm-lock.yaml node_modules build server_build storybook-static

~/nsx (main|✚1) $ pnpm i
Scope: all 3 workspace projects
 WARN  4 deprecated subdependencies found: @wxt-dev/[email protected], [email protected], [email protected], [email protected]
 WARN  Issues with peer dependencies found
.
├─┬ storybook 9.1.20
│ └─┬ @vitest/mocker 3.2.4
│   └── ✕ unmet peer vite@"^5.0.0 || ^6.0.0 || ^7.0.0-0": found 8.0.0
├─┬ @storybook/react-vite 9.1.20
│ ├── ✕ unmet peer vite@"^5.0.0 || ^6.0.0 || ^7.0.0": found 8.0.0
│ ├─┬ @storybook/builder-vite 9.1.20
│ │ └── ✕ unmet peer vite@"^5.0.0 || ^6.0.0 || ^7.0.0": found 8.0.0
│ └─┬ @joshwooding/vite-plugin-react-docgen-typescript 0.6.1
│   └── ✕ unmet peer vite@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0": found 8.0.0
├─┬ eslint-plugin-import 2.32.0
│ └── ✕ unmet peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9": found 10.0.3
├─┬ eslint-config-ts-prefixer 4.1.6
│ └── ✕ unmet peer eslint@^9.0.0: found 10.0.3
├─┬ eslint-plugin-jsx-a11y 6.10.2
│ └── ✕ unmet peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9": found 10.0.3
├─┬ @chromatic-com/storybook 5.0.1
│ └── ✕ unmet peer storybook@"^0.0.0-0 || ^10.1.0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0": found 9.1.20
├─┬ eslint-plugin-storybook 10.2.19
│ └── ✕ unmet peer storybook@^10.2.19: found 9.1.20
└─┬ vitest-matchmedia-mock 2.0.3
  └─┬ vitest 3.2.4
    ├── ✕ unmet peer @vitest/[email protected]: found 4.1.0
    └── ✕ unmet peer @vitest/[email protected]: found 4.1.0

browser-extension
├─┬ eslint-plugin-import 2.32.0
│ └── ✕ unmet peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9": found 10.0.3
├─┬ eslint-config-ts-prefixer 4.1.6
│ └── ✕ unmet peer eslint@^9.0.0: found 10.0.3
├─┬ eslint-plugin-react 7.37.5
│ └── ✕ unmet peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7": found 10.0.3
└─┬ eslint-plugin-react-hooks 7.0.1
  └── ✕ unmet peer eslint@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0": found 10.0.3
Packages: +1787
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1795, reused 1614, downloaded 20, added 1787, done
node_modules/core-js: Running postinstall script, done in 199ms
node_modules/msw: Running postinstall script, done in 259ms
node_modules/prisma: Running preinstall script, done in 133ms
browser-extension prepare$ husky
│ .git can't be found
└─ Done in 251ms
. postinstall$ pnpm prisma generate
│ Loaded Prisma config from prisma.config.ts.
│ Prisma schema loaded from prisma/schema.prisma.
│ ✔ Generated Prisma Client (7.5.0) to ./generated/prisma in 23ms
└─ Done in 785ms
. prepare$ husky
└─ Done in 147ms
Done in 13.4s using pnpm v10.31.0
~/nsx (main|✚2) $ git add --all
~/nsx (main|●2) $ git gpt commit
✔ chore: update mock service worker version for better compatibility. … yes
[STARTED] Backing up original state...
[COMPLETED] Backed up original state in git stash (ddd83f77)
[STARTED] Running tasks for staged files...
[STARTED] package.json — 2 files
[STARTED] * — 2 files
[STARTED] *.{js,ts,jsx,tsx,cjs,mjs} — 1 file
[STARTED] prettier --ignore-unknown --write
[STARTED] eslint -c eslint.config.mjs --fix --max-warnings=0 --no-warn-ignored
[COMPLETED] prettier --ignore-unknown --write
[COMPLETED] * — 2 files
[COMPLETED] eslint -c eslint.config.mjs --fix --max-warnings=0 --no-warn-ignored
[COMPLETED] *.{js,ts,jsx,tsx,cjs,mjs} — 1 file
[COMPLETED] package.json — 2 files
[COMPLETED] Running tasks for staged files...
[STARTED] Applying modifications from tasks...
[COMPLETED] Applying modifications from tasks...
[STARTED] Cleaning up temporary files...
[COMPLETED] Cleaning up temporary files...
error: 1Password: Could not connect to socket. Is the agent running?

fatal: failed to write commit object
node:internal/errors:985
  const err = new Error(message);
              ^

Error: Command failed: git commit -m "chore: update mock service worker version for better compatibility"
[STARTED] Backing up original state...
[COMPLETED] Backed up original state in git stash (ddd83f77)
[STARTED] Running tasks for staged files...
[STARTED] package.json — 2 files
[STARTED] * — 2 files
[STARTED] *.{js,ts,jsx,tsx,cjs,mjs} — 1 file
[STARTED] prettier --ignore-unknown --write
[STARTED] eslint -c eslint.config.mjs --fix --max-warnings=0 --no-warn-ignored
[COMPLETED] prettier --ignore-unknown --write
[COMPLETED] * — 2 files
[COMPLETED] eslint -c eslint.config.mjs --fix --max-warnings=0 --no-warn-ignored
[COMPLETED] *.{js,ts,jsx,tsx,cjs,mjs} — 1 file
[COMPLETED] package.json — 2 files
[COMPLETED] Running tasks for staged files...
[STARTED] Applying modifications from tasks...
[COMPLETED] Applying modifications from tasks...
[STARTED] Cleaning up temporary files...
[COMPLETED] Cleaning up temporary files...
error: 1Password: Could not connect to socket. Is the agent running?

fatal: failed to write commit object

    at genericNodeError (node:internal/errors:985:15)
    at wrappedFn (node:internal/errors:539:14)
    at checkExecSyncError (node:child_process:925:11)
    at execSync (node:child_process:997:15)
    at gptCommit (file:///Users/ryotamurakami/.local/share/mise/installs/node/24.13.0/lib/node_modules/@laststance/git-gpt-commit/index.js:190:5)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async Command.<anonymous> (file:///Users/ryotamurakami/.local/share/mise/installs/node/24.13.0/lib/node_modules/@laststance/git-gpt-commit/index.js:209:7) {
  status: 128,
  signal: null,
  output: [
    null,
    Buffer(0) [Uint8Array] [],
    Buffer(945) [Uint8Array] [
       91,  83,  84,  65,  82,  84,  69,  68,  93,  32,  66,  97,
       99, 107, 105, 110, 103,  32, 117, 112,  32, 111, 114, 105,
      103, 105, 110,  97, 108,  32, 115, 116,  97, 116, 101,  46,
       46,  46,  10,  91,  67,  79,  77,  80,  76,  69,  84,  69,
       68,  93,  32,  66,  97,  99, 107, 101, 100,  32, 117, 112,
       32, 111, 114, 105, 103, 105, 110,  97, 108,  32, 115, 116,
       97, 116, 101,  32, 105, 110,  32, 103, 105, 116,  32, 115,
      116,  97, 115, 104,  32,  40, 100, 100, 100,  56,  51, 102,
       55,  55,  41,  10,
      ... 845 more items
    ]
  ],
  pid: 34015,
  stdout: Buffer(0) [Uint8Array] [],
  stderr: Buffer(945) [Uint8Array] [
     91,  83,  84,  65,  82,  84,  69,  68,  93,  32,  66,  97,
     99, 107, 105, 110, 103,  32, 117, 112,  32, 111, 114, 105,
    103, 105, 110,  97, 108,  32, 115, 116,  97, 116, 101,  46,
     46,  46,  10,  91,  67,  79,  77,  80,  76,  69,  84,  69,
     68,  93,  32,  66,  97,  99, 107, 101, 100,  32, 117, 112,
     32, 111, 114, 105, 103, 105, 110,  97, 108,  32, 115, 116,
     97, 116, 101,  32, 105, 110,  32, 103, 105, 116,  32, 115,
    116,  97, 115, 104,  32,  40, 100, 100, 100,  56,  51, 102,
     55,  55,  41,  10,
    ... 845 more items
  ]
}

Node.js v24.13.0

主要言語
JavaScript
スター
36
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

laststance/git-gpt-commit のほかの issue

laststance/git-gpt-commit の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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