Updating to pnpm 9.x (from 8.12.1) and run pnpm i
throws exception: Cannot read properties of undefined (reading 'missingPeersOfChildren')
#8041
Labels
Verify latest release
pnpm version
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
https://github.com/woocommerce/woocommerce/tree/dev/update-pnpm-9
Reproduction steps
We are using syncpack to keep versions synchronized so i used it to move us from 8.12.1 of pnpm to latest (9.0.6)
After that installed latest pnpm:
pnpm i -g pnpm@latest
Then run a
pnpm i
Also just noting I tried deleting the existing lock file, I tried pnpm store prune as well, but the error remained.
Describe the Bug
After running
pnpm i
it does not finish, it stalls with a thrown exception:Expected Behavior
It should not throw an error.
Which Node.js version are you using?
20.11.1
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
The text was updated successfully, but these errors were encountered: