CommandCodeAI / CommandCodeAI/command-code

Uncaught error for terminal command

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

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

p1
主要言語
言語のデータがありません
スター
4k
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

説明

Summary

✖ CRITICAL: Uncaught Exception!
This is an unexpected error. Please file a bug report at https://github.com/CommandCodeAI/command-code/issues/new
✖ ERROR → TypeError
ℹ REASON → Unknown signal: SIGTSTP
ℹ ERROR STACK ↓
TypeError [ERR_UNKNOWN_SIGNAL]: Unknown signal: SIGTSTP
at process.kill (node:internal/process/per_thread:230:15)
at Timeout._onTimeout (file:///C:/Users/Username/AppData/Roaming/npm/node_modules/command-code/dist/index.mjs:295:109456)
at listOnTimeout (node:internal/timers:588:17)
at process.processTimers (node:internal/timers:523:7)

ℹ Request ID: req_cfb7bdb69e0d63b848e3763255355907
Share this ID with support to help debug your issue.

Just pasted the log here. Using 0.30.2 on Windows 11.

Expected Behavior

No crash

Actual Behavior

Crash

Steps to reproduce the issue
Command Code Version

0.30.2

Operating System

Windows

Terminal/IDE

No response

Shell

No response

Additional context

No response

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

dist/index.mjs の 295 行目付近にある timeout から始め、SIGTSTP を受け取る process.kill 呼び出しを調査します。可能であれば Windows 11 で command-code 0.30.2 を使って再現し、その後、このシグナルに遭遇してもターミナルコマンドがクラッシュしなくなったことを確認します。

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

評価

技術スタック
node.js
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
38/100

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

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