Turborepo & Prisma Environment Variables

Hi,

I'm currently setting up my Monorepo with Turborepo and env-vars are... weird.. with it.
The problem I'm currently having is, when I'm doing npx prisma db push in my apps/server Folder, it complains about not finding the env file which Turborepo requires to have in the Root of the Workspace.

The current "solution" I have is a .env file in the root and the app, but I don't want to update my .env in two places.

Thanks in advance!
Was this page helpful?