If I redeploy then it works (Without changing anything!). If a new code is pushed then it fails again. My suspicion is, it’s something to do with pnpm cache.
I just deployed our Turbo + Next.js starter template using pnpm and couldn’t reproduce this: Turborepo & Next.js Starter. Do you have a repro that I can take a look?