PrismaP
Prisma2y ago
8 replies
drew

Prisma breaks lambda

Hey there, I'm new to prisma but fell in love with the database seeding feature immediately. What a time saver and the format tool :chef-kiss:

I'm having a problem as you can see from the screenshots that prisma orm as the only dependency makes my .zip deployable file to lambda 3 times the size of the postgres only version breaking my ability to upload the deployable (50MB limit on aws lambda).

What is making it so large?
How can I minimize this?
What are my options to move forward?
image.png
Open_2024-05-11_at_20.45.29.jpg.jpg
package.json_grand-central-station_2024-05-11_at_20.44.53.jpg.jpg
Was this page helpful?