CommandCodeAI / CommandCodeAI/command-code
Uncaught error for terminal command
还没有人认领这个 Issue。
- 主要语言
- 没有语言数据
- 星标
- 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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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