Is it possible to load a schema in the mac os desk...
# orm-help
l
Is it possible to load a schema in the mac os desktop Prisma Studio app that has an environment variable in it? like so:
Copy code
url      = env("POSTGRES_URL")
I keep getting an error because of it
Copy code
Error starting Prisma Client: {
  "message": "Schema Parsing P1012\n\nGet config \nerror: Environment variable not found: POSTGRES_URL.\n  -->
h
Yes, i have same setup and its working. Check your env location
m
It’s working for me also. Your env location should be in the root directory where you have the Prisma folder.
l
@Martïn by
env location
do you mean my
.env
file?
m
Yes...the location of your .
env
file
n
Hey @Luke 👋 were you able to resolve this? 🙂
l
@Martïn okay cool, thanks! @nikolasburk I have not tried this yet! I will tonight or tomorrow and let you know.
👍 2
@Martïn @nikolasburk Confirming this worked for me! Thank you 🙂