Reproduction of pnpm store prune error
See pnpm/pnpm#10131
-
Add node to pnpm store
- Either by installing a package that has node as a runtime dependency (like this repo)
pnpm install - Or by adding node directly to the store
pnpm store add node@runtime:22
- Either by installing a package that has node as a runtime dependency (like this repo)
-
Run
pnpm store prune