When using pnpm
and deploying Prisma Client to Heroku, it fails at runtime with Cannot find module '.prisma/client'
#24199
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: deployment/heroku
topic: pnpm
Bug description
Here is the error, from our
platforms (heroku, library, ubuntu-20.04)
test.https://github.com/prisma/ecosystem-tests/actions/runs/9091632780/job/24986713804#step:8:4114
How to reproduce
See https://github.com/prisma/ecosystem-tests/tree/dev/platforms/heroku
Expected behavior
It should work (it was working before)
Prisma information
Environment & setup
Prisma Version
5.15.0-dev.5 for example, but all versions should be affected as it's not a regression from Prisma's side but a change in the buildpack used by Heroku.
The text was updated successfully, but these errors were encountered: