You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey ya'll. This library was working perfectly before - but for some reason now it is not loading my .env file. It is literally interpreting the env("DATABASE_URL"). I get the error:
error: Error validating datasource `db`: the URL must start with the protocol `postgresql://` or `postgres://`.
My env vars are correct and verified and my prisma schema is also correct and verified.
Edit: When i remove the surrounding "" from my env var, it works. Seems the "" in an env var mess it up.
Ex:
.env
Doesn't work
DATABASE_URL="https://example.com:8080"
.env
Does work
DATABASE_URL=https://example.com:8080
The text was updated successfully, but these errors were encountered:
Hey ya'll. This library was working perfectly before - but for some reason now it is not loading my
.env
file. It is literally interpreting theenv("DATABASE_URL")
. I get the error:My env vars are correct and verified and my prisma schema is also correct and verified.
Edit: When i remove the surrounding "" from my env var, it works. Seems the "" in an env var mess it up.
Ex:
The text was updated successfully, but these errors were encountered: