FormidableLabs / serverless-jetpack

A faster JavaScript packager for Serverless applications.
MIT License
277 stars 21 forks source link

Prisma and "Encountered resolution error" #360

Open mits87 opened 9 months ago

mits87 commented 9 months ago

Hi there,

I'm trying to use serverless-jetpack for my serverless, NestJS and Prisma application but unfortunately I'm getting an error:

Error: Encountered resolution error in /Users/mr0/Sites/app-service/.build/node_modules/@prisma/client/default.js for .prisma/client/default: Error: Cannot find export './.prisma/client/default' in module '.prisma/client/default' from '/Users/mr0/Sites/app-service/.build/node_modules/@prisma/client'

Any idea how it can be solved?

cc. @ryan-roemer

mits87 commented 6 months ago

Any update here?

ryan-roemer commented 6 months ago

If you can create a minimal reproduction of the issue that we can install, build and see the error, that would be great to enable us to see what's actually going on. Thanks!