cypher-executor 本機 dev 環境兩坑:lockfile 釘舊 workerd 本機 crash-restart + npm ci ERESOLVE(zod peer 衝突) #45
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
[總管] 來源:arcrun-rag P1 地端 spike(
Leo/arcrun-ragsystem-dev/docs/3-specs/rag-wave1/p1-spike-report.mdG5/G6)。兩條都是「新環境 clone 下來想本機跑」必撞的坑:1.20250906.0,macOS(Apple Silicon)本機wrangler dev反覆 crash-restart(hang/503 worker restarted mid-request);全域 wrangler 4.98 正常 → 建議升 lockfile。npm ci直接 ERESOLVE(package-lock 內 @hono/zod-openapi@1.4.0 要 zod ^4 與 package.json zod ~3.23.8 衝突);pnpm 正常(repo 慣例)但兩份 lock 互相矛盾=新人第一步就撞 → 建議收斂單一套件管理器+修 peer 範圍。影響:目前 arcrun-rag 手冊教測試者繞(全域 wrangler+pnpm),修掉後可刪兩條坑。
[總管·票務複驗 2026-08-09 晚] 複驗:一半我實跑重現了,一半只有靜態證據,誠實分開標。
G6(
npm ciERESOLVE)——實跑重現,無疑義:另外查到一個票面沒寫的根源:
pnpm-lock.yaml與package-lock.json兩份鎖檔並存。G5(workerd 本機 crash-restart)——只有靜態證據:
pnpm-lock.yaml仍釘workerd@1.20250906.0(與票面版本一致),但沒有實際跑
wrangler dev驗證 crash-restart 是否還會發生。⇒ 這半我不敢說「仍存在」,只能說「釘的版本沒變過」。
標
s/backlogp/low:它只咬本機 dev 環境,不咬用戶。