feat/node: pnpm store v11 support#537
Conversation
|
I just tested this with Nuclear (nukeop/nuclear), pnpm 11.0.6, lockfile v9. The store gets populated (index.db is created, pnpm install --offline gets past resolution), but pnpm fails when it tries to extract packages from the store: That's the first package alphabetically, so it's not finding any packages at all. The index lookup seems to succeed (it gets past resolution and starts linking), but the files in v11/files/ aren't matching what pnpm expects. References:
Let me know if I can help with debugging in any way. |
|
@nukeop Thanks for testing!
Not really, pnpm is using workers to look up indexes and read package information, so it depends on which worker fails first.
Actually it can also be pnpm fails to find the entry it needs from index, but it doesn't tell you what's exactly wrong. I will look into it to find out what's actually wrong. |
|
@nukeop Hi there! I just pinned down the issue you encountered! It's not that store is not working, actually, it's working perfectly well! The problem is that pnpm v11 no longer reads ExampleHad some free space issues, so most files are moved by pnpm already, that's why it appears to be finished fast |
|
You were right, with the correction you suggested the build passes just fine. https://github.com/nukeop/nuclear/actions/runs/25802919961/job/75797639120 |
38cd2e5 to
b001ab4
Compare
b001ab4 to
4dcceeb
Compare
I've only tested with my project's lockfile, works as intended.
close #535