trigger.dev
trigger.dev copied to clipboard
Make the Prisma build extension work in a monorepo without specifying the version no
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".