Failed to switch pnpm to v9.15.3

I have locked pnpm to 9.15.3 in my package.json file

  "engines": {
    "node": "22.12.0",
    "pnpm": ">=9.15.3"
  },
  "packageManager": "pnpm@9.15.3"

However, render gives me error ERROR Failed to switch pnpm to v9.15.3. Looks like pnpm CLI is missing at "/opt/render/.local/share/pnpm/.tools/pnpm/9.15.3/bin" or is incorrect

When I go into my service shell:

pnpm -v
9.15.3

So the version is the same as in package.json