Open Lfbi-Techy opened 2 weeks ago
I keep getting this error " yarn setup yarn run v1.22.22 $ (cd backend && yarn run setup) && (cd frontend && yarn run setup) warning package.json: No license field $ yarn install && npx prisma migrate dev && yarn prisma db seed && yarn swagger warning package.json: No license field warning backend@1.0.0: No license field [1/4] Resolving packages... success Already up-to-date. Environment variables loaded from .env Prisma schema loaded from prisma\schema.prisma Datasource "db": PostgreSQL database
Error: Prisma schema validation - (get-config wasm)
Error code: P1012
error: Error validating datasource db : the URL must start with the protocol postgresql:// or postgres:// .
--> schema.prisma:10 |
9 | provider = "postgresql" 10 | url = env("DATABASE_URL") |
---|
Validation Error Count: 1 [Context: getConfig]
Prisma CLI Version : 5.9.1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. " It appears I need a Firebase Admin Sdk installed in the backend project
Create Bug Report