Is there a way to specify pnpm version?
It seems to always default to pnpm 7.x, but It looks like pnpm 8.x is available in nixos
13 Replies
Project ID:
660f85e6-f8fa-467e-8c57-d93f8eb3304e
660f85e6-f8fa-467e-8c57-d93f8eb3304e
is this helpful?
https://nixpacks.com/docs/providers/node#corepack
I've set the package version using corepack, but I still see
pnpm-7_x
in the nixpacks setup it seems
It does seem to built successfully, but I'm not even sure now what version of pnpm is being usedis there a reason you need pnpm 8
because version 8 has a better lock file standard
which makes it more merge resistant
can pnpm 7 not install your deps from a pnpm 8 lockfile?
It was compatible early on, but now some features don't work which break builds
are your builds broken?
I get sporadic build failures related to pnpm.
When there is a failure, i'm able to see this warning in the console:
WARN Your pnpm-lock.yaml was generated by a newer version of pnpm. It is a compatible version but it might get downgraded to version 6.0
for very specfic requirements such as this i would recommend moving to a dockerfile based build
ok, I'll try to just bear with it for now
but, can you explain how is pnpm version derived?
Is it coming from nixos packages? set in package.json engines? picked up from corepack?
im sorry i dont actually know