Skip to content

安装 到 qoder 失败 #134

Closed
Closed

Description

@withcourageto

npx spec-superflow@latest install-qoder

⬆️ Installing spec-superflow v2.0.1 for Qoder ...
❌ ENOENT: no such file or directory, mkdtemp '\tmp\spec-superflow-XXXXXX'
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
Error: Command failed: C:\Program Files\nodejs\node.exe C:\Users\00130\AppData\Local\npm-cache_npx\5b2ea0d53126f683\node_modules\spec-superflow\scripts\install-qoder.mjs

Activity

  1. MageByte-Zero commented on Oct 26, 2026

    @MageByte-Zero
    Owner

    已在 #139 修复并合并到 main,将随 v2.1.0 发布。

    根因是安装器使用固定 /tmp,Windows 上该目录不一定存在。现在改用系统临时目录,在临时父目录下克隆到尚不存在的 repo 子目录,失败时清理整个暂存目录;Qoder、Cursor、ZCODE、CodeBuddy、WorkBuddy 共用这条修复链路。

    回归使用真实本地 Git 克隆验证临时目录、独立目标、失败清理,以及安装后同包 CLI 的版本和资源读取。#139 的 Windows/Ubuntu × Node 20/22 和安装冒烟全部通过:CI。

    v2.1.0 标签和 GitHub Release 已发布。npm 2.1.0 与 latest 均已上线,可运行 npx spec-superflow@2.1.0 install-qoder,也可先克隆本仓库 v2.1.0 标签并运行 node scripts/spec-superflow.mjs install-qoder --local .。社区市场同步单独跟进。

    按已合并的修复关闭此 issue;若新版本仍遇到问题,请附 Windows、Node 版本及新的错误信息重新反馈。

    发布后验收:已从公开 npm 2.1.0 包使用全新 npm 缓存分别运行 Qoder/WorkBuddy 安装器,真实克隆 GitHub 正式标签,确认九个技能、CLI 和 WorkBuddy 安装登记均为 2.1.0。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions