I'm trying to run prisma on hydrogen/remix but I'm getting this error when I try to write queries on the loaders.
js export async function loader({request, params, context}: LoaderArgs) { invariant(params.pageHandle, 'Missing page handle'); return prisma?.page.findFirst({ where: {slug: params.pageHandle}, }); ...