DEV Community

Discussion on: How to deploy Prisma in AWS Lambda with Serverless

Collapse
 
eddeee888 profile image
Eddy Nguyen

Hello @macbird !

I have also encountered this error between Prisma versions 2.23 to 2.25.

If you are on Prisma version 2.26, you can do something like this:

$ PRISMA_BINARY_TARGET='["rhel-openssl-1.0.x"]' yarn prisma generate
Enter fullscreen mode Exit fullscreen mode

Hope it works for you!

Here's the related issue on Prisma GitHub: github.com/prisma/prisma/issues/8112