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

LFBI Handoff #270

Open
Lfbi-Techy opened this issue Oct 7, 2024 · 1 comment
Open

LFBI Handoff #270

Lfbi-Techy opened this issue Oct 7, 2024 · 1 comment

Comments

@Lfbi-Techy
Copy link

Create Bug Report

@Lfbi-Techy
Copy link
Author

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

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

1 participant