-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
one click depoly to Vercel got below error #56
Comments
I am getting the same error |
I had the same I found the solution on this page. https://neon.tech/docs/guides/prisma update your .env file with both the DATABASE_URL and DIRECT_URL variables settings. As shown in the following example, set DATABASE_URL to the pooled connection string for your Neon database, and set DIRECT_URL to the non-pooled connection string. DATABASE_URL="postgres://casey:@ep-square-sea-260584-pooler.us-east-2.aws.neon.tech:5432/neondb?pgbouncer=true" |
@Tombcn71 What would be the shadow DB URL? |
Error: Prisma schema validation - (get-config wasm)
17:06:24.216 | Error code: P1012
17:06:24.216 | error: Environment variable not found: DIRECT_DATABASE_URL.
17:06:24.216 | --> schema.prisma:4
17:06:24.216 | |
17:06:24.216 | 3 | url = env("DATABASE_URL")
17:06:24.216 | 4 | directUrl = env("DIRECT_DATABASE_URL")
17:06:24.216 | |
17:06:24.216 |
17:06:24.217 | Validation Error Count: 1
17:06:24.217 | [Context: getConfig]
17:06:24.217 |
17:06:24.218 | Prisma CLI Version : 4.11.0
17:06:24.257 | Error: Command "npm run build" exited with 1
17:06:24.687 | BUILD_UTILS_SPAWN_1: Command "npm run build" exited with 1
The text was updated successfully, but these errors were encountered: