fix(npm): restore web's @nous-research/ui 0.18.2 pin and lockfile integrity - #75908
fix(npm): restore web's @nous-research/ui 0.18.2 pin and lockfile integrity#75908ocfox wants to merge 1 commit into
Conversation
The lockfile entry for web/node_modules/@nous-research/ui lost its `resolved` and `integrity` in 390a177. importNpmLock prefetches packages from those hashes, so without them npm reaches for the network inside the build sandbox and every npm-dependent flake output fails with ENOTCACHED. It surfaces in hermes-tui, which is a red herring: one lockfile, one install pass for the whole workspace. 515e88a then set web/package.json to 0.16.0, contradicting the lockfile (npm ls: invalid @nous-research/ui@0.18.2) and pointing web at a version it can't build against — 0.16.0 ships no hooks/use-toast and no ui/components/card, among others, for 117 TS2307s. web has been on 0.18.2 since a51a7b9, so restore the pin. Nothing new enters the lockfile; 0.18.2 only swaps @radix-ui/react-checkbox for radix-ui, already at the root.
|
Thanks for the targeted lockfile repair. Static review confirms that current The PR aligns both Web declarations at No changes requested. This is an automated hermes-sweeper review. |
|
This fixes the nix build failure for me. Thanks very much. |
|
already fixed |
Problem
nix build .#messagingfails withENOTCACHEDon@nous-research/ui. Theweb/node_modules/@nous-research/uientry inpackage-lock.jsonlost itsresolvedandintegrityin390a1771b, andimportNpmLockprefetches from those hashes, so npm reaches for the network inside the sandbox. Every npm-dependent output is affected; it surfaces inhermes-tuionly because the whole workspace installs in one pass.515e88a80separately setweb/package.jsonto0.16.0while the lockfile still installs0.18.2underweb/, sonpm ls --depth=0reportsELSPROBLEMS.Fix
Restore the two lockfile fields, and put web's pin back to
0.18.2— the version it has resolved to sincea51a7b9b9.0.16.0ships none of thehooks/use-*andui/components/*modules web imports (117TS2307s).Verified with
nix build .#messaging,npm ls --depth=0andnpm --prefix web run typecheckon NixOS x86_64-linux.