Thang Vu
03/01/2022, 4:30 AM.env files and ran yarn dx, but I got:
@calcom/web:dx: ' error: Environment variable not found: DATABASE_URL.\n' +
@calcom/web:dx: ' --> schema.prisma:6\n' +
@calcom/web:dx: ' | \n' +
@calcom/web:dx: ' 5 | provider = "postgresql"\n' +
@calcom/web:dx: ' 6 | url = env("DATABASE_URL")\n' +
@calcom/web:dx: ' | \n' +
@calcom/web:dx: '\n' +
This error is gone if I add DATABASE_URL to apps/web/.env. Am I (or the docs) missing anything? 🤔Peer
Agusti
03/01/2022, 11:54 AMAgusti
03/01/2022, 11:54 AMAgusti
03/01/2022, 11:55 AMThang Vu
03/01/2022, 12:10 PMDATABASE_URL to root .env, doesn’t work for me. Same errorAgusti
03/01/2022, 12:49 PMThang Vu
03/01/2022, 1:12 PMapps/web/.env.example? I wonder what is the reason behind putting it in packages/prisma 🤔Agusti
03/01/2022, 1:15 PMThang Vu
03/01/2022, 1:23 PMpackages/prisma and apps/web. Without it, packages/prisma would fail its own Prisma commandsAgusti
03/01/2022, 1:37 PMThang Vu
03/01/2022, 1:54 PMzomars
03/01/2022, 3:20 PMzomars
03/01/2022, 3:20 PMzomars
03/01/2022, 3:21 PMAgusti
03/01/2022, 3:56 PMAgusti
03/01/2022, 3:56 PMzomars
03/01/2022, 3:58 PMThang Vu
03/02/2022, 1:43 AM