Environment Variable Error when using prisma client directly in getStaticProps?
Normally using trpc, but just tried to make a prisma call in getStaticProps directly:
However, this gives me an error (server.mjs) :
Error: Invalid environment variables throw new Error("Invalid environment variables");Not sure I understand why?
0 Replies