Help. Prisma ORM is not loading environment variables
When I run
I've run
If this same
I'm using the folder schemas, so I tried to make the schema path explicit like this:"
But this also fails
db:deploy. It always errors saying DATABASE_URL was not found if the DATABASE_URL is not present on a .env file.I've run
echo $DATABASE_URL it returns postgres://pos... (the correct DATABASE_URL).If this same
DATABASE_URL is present on a .env file. It works correctly.I'm using the folder schemas, so I tried to make the schema path explicit like this:"
"db:deploy": "prisma migrate deploy --schema ./prisma/schema"But this also fails