Nix build of UI package fails due to stale npmDepHash

未关闭 适合新手
#3,191 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
领域
build-system

调研方向

首先找到 .#codebase-memory-mcp-ui 对应的 Nix 表达式,并查找 UI 包的 npmDepHash 在哪里设置。运行 nix build .#codebase-memory-mcp-ui 以复现报告的哈希不匹配,然后更新哈希,使其与依赖项输出一致。构建成功退出后即完成。

由索引模型根据 Issue 内容生成。

描述

bug ux/behavior
Version

codebase-memory-mcp dev (on main @ 9467326e181537a6d5ded206638a391f4f088ca0)

Platform

Linux (x64)

Install channel

Built from source

Binary variant

ui

What happened, and what did you expect?

The nix build for codebase-memory-mcp.

Reproduction
  1. N/A
  2. nix build .#codebase-memory-mcp-ui
  3. Observed output:
error: hash mismatch in fixed-output derivation '/nix/store/b9rx4appz730zqasf51naqwz8xaxcrqf-codebase-memory-graph-ui-0.1.0-npm-deps.drv':
         specified: sha256-P1JVo+GFr+Gsq88dnn9OsedZqrTaj3DDGbej+nHbp4U=
            got:    sha256-xTTcRqodgxO3lB7NhxEkQTfHxNbvg5yBGuo7nPO3HlE=
error: Cannot build '/nix/store/20jfj8r35kfky3rr07bzsqkgp8a9732r-codebase-memory-graph-ui-0.1.0.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/wb10pgi0vpvxiify5zrd5m4djhp7d4w3-codebase-memory-graph-ui-0.1.0
error: Cannot build '/nix/store/j815gvrmymm9g7d90a8p7hfhb153x37y-codebase-memory-mcp-ui-0.12.1.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/dz1lv5xzb2dr8q9a35050f9d8f38zk4a-codebase-memory-mcp-ui-0.12.1

Expected no output, and command to exit with return code 0.

Logs

Diagnostics trajectory (memory / performance / leak issues)

Project scale (if relevant)

No response

Confirmations
  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.
主要语言
C
星标
45.8k
派生
3.8k
平均合并
2 天 18 小时
30 天内合并 PR
108

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DeusData/codebase-memory-mcp 的其他 Issue

查看 DeusData/codebase-memory-mcp 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。