RedwoodJS Tutorial: Netlify Deployment | Unfound Prisma engine binary

Hi @mk.ultra … you’re 100% correct.

Starting with RW v 0.20.0 and Prisma 2.9, there needs to be:

Manual Code Modifications

  1. Prisma v2.9 requires an additional binaryTarget for production deploys to build correctly:
  • add the additional binaryTarget "rhel-openssl-1.0.x" to api/prisma/schema.prisma
  • see this example

This was outlined in RedwoodJS v0.20.0 🚀 but the tutorial is likely out of date – and I know @rob is working on a “Two”-torial sequel and should address this.

I’ve added an issue to address.

https://github.com/redwoodjs/redwoodjs.com/issues/446

Thanks!

1 Like