Broken lockfile on prune

Hello.

I’m running turbo 2.5.8. I’m having some trouble with installing packages after running turbo prune –docker.

I can run pnpm install fine before doing the prune, but when running pnpm install –frozen-lockfile after pruning I get the following error:

#15 0.607 Lockfile is up to date, resolution step is skipped
#15 0.685  ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY  Broken lockfile: no entry for 'next@15.5.3(@babel/core@7.28.0)(@opentelemetry/api@1.9.0)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.79.3)' in pnpm-lock.yaml
#15 0.685 
#15 0.685 This issue is probably caused by a badly resolved merge conflict.
#15 0.685 To fix the lockfile, run 'pnpm install --no-frozen-lockfile'.

How can I debug why this is happening?

This is most likely to be an error with our lockfile parser. Please open an issue with a reproduction here: Sign in to GitHub · GitHub