Prisma Optimize Setup Error
I am receiving the following error after trying to setup prisma optimize in a monorepo.
SyntaxError: The requested module 'prisma-instrumentation-5-x' does not provide an export named 'PrismaInstrumentation'
My versions are as follows
and this is how i am attempting to create my prisma client
Any help would be greatly appreciated thanks!
6 Replies
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the
#ask-ai
channel awaits if you're curious!Is your repository open source? If yes, can you share the link to the repository?
I would like to reproduce this to investigate
I think it may be because of the pgAdapter, I realized afterwords that the docs say they are not supported yet
i have the exact same problem:
error: SyntaxError: The requested module 'prisma-instrumentation-5-x' does not provide an export named 'PrismaInstrumentation'
versions:
code:
Does it work as expected if you don't use Driver Adapters?
I haven’t tested without the adapters, I was under the impression that when using the new querycompiler it was required to also use driverAdapters