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 摘要。