Turbo and prisma dont work together?

its weird that prisma does give errors such as cannot convert null to object on some stuff like creating a post or filtering by post cateogry while when i remove the --turbo flag from the dev command it doesnt. then i found
webpack: (config, { isServer, dev }) => {
if (isServer && !dev) {
config.plugins = [...config.plugins, new PrismaPlugin()];
}
webpack: (config, { isServer, dev }) => {
if (isServer && !dev) {
config.plugins = [...config.plugins, new PrismaPlugin()];
}
maybe its because of this, is there a way to do this for turbo as well changing the prop webpack to turbo doesnt do it for me.
0 Replies
No replies yetBe the first to reply to this messageJoin