Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment variable not found: DIRECT_DATABASE_URL. #64

Closed
sanye8899 opened this issue Apr 10, 2023 · 2 comments
Closed

Environment variable not found: DIRECT_DATABASE_URL. #64

sanye8899 opened this issue Apr 10, 2023 · 2 comments

Comments

@sanye8899
Copy link

npx prisma db push && prisma migrate dev && prisma generate
Prisma schema loaded from prisma\schema.prisma
Datasource "db": PostgreSQL database

Error: Prisma schema validation - (get-config wasm)
Error code: P1012
error: Environment variable not found: DIRECT_DATABASE_URL.
--> schema.prisma:4
|
3 | url = env("DATABASE_URL")
4 | directUrl = env("DIRECT_DATABASE_URL")
|

Validation Error Count: 1

@mmtechhk
Copy link

I think it is the same answer as my previouse post
#56

@Nutlope
Copy link
Owner

Nutlope commented May 30, 2023

Hey all. I've just simplified the repo to remove auth and payments so you can clone and deploy very easily, only with a Replicate environment variable. Try it out and if you still have any problems, please open a new issue and I will take a look!

@Nutlope Nutlope closed this as completed May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants