I am using corepack to set the correct pnpm version automatically. Currently, it seems that only 7.x is supported and using corepack doesn't set the correct pnpm version (e.g. 8.x)
Unable to switch to Render until this is added
---
Edit:
I don't see a way to remove the suggestion, but after a lot of experimenting, I realised it is possible. Here's the instructions for anyone stumbling:
  • set ENV variable
    SKIP_INSTALL_DEPS
    to
    true
    (to disable automatic installation of dependencies)
  • Update your build command
    corepack enable; pnpm install; pnpm build;