trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

Make the Prisma build extension work in a monorepo without specifying the version no

Open D-K-P opened this issue 9 months ago • 0 comments

When using the Prisma build extension in a monorepo the version number is currently required for it to work properly.

If you don't, you get this error:

 Error: PrismaClientInitializationError
│  
│         PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "debian-openssl-3.0.x".
│         
│         This is likely caused by a bundler that has not copied "libquery_engine-debian-openssl-3.0.x.so.node" next to the resulting bundle.
│         Ensure that "libquery_engine-debian-openssl-3.0.x.so.node" has been copied next to the bundle or in "generated/client".

D-K-P avatar Mar 21 '25 13:03 D-K-P