Now that the Failed to switch pnpm to v9.8.0. Looks like pnpm CLI is missing at errors have seemingly been addressed in pnpm (see PR and issue below)...
...we can try removing the switch to Corepack and the related workarounds introduced in the last commits / PR: