chen-rn / CUA

(no longer maintained) create-universal-app(CUA) is an opinionated template for creating fullstack universal apps (Expo, Next, tRPC, Prisma, Clerk, Solito, Tamagui)

Home Page:https://cua-demo.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo site gives prisma error

redbar0n opened this issue · comments

https://cua-demo.vercel.app/

after a few seconds on the page, it gives:

Invalid `prisma.entry.findMany()` invocation: error: Error validating datasource `db`: the URL must start with the protocol `file:`. --> schema.prisma:9 | 8 | provider = "sqlite" // Change this to "postgresql" when you want to use PostgreSQL 9 | url = env("DATABASE_URL") | Validation Error Count: 1
commented

oh good catch! We recently switched from requiring a postgres to sqlite so people can get started more easily, but I guess we probably want another branch for the "prod" website!

commented

Same thing here.

commented

It's still broken, but if its only cus of ur switch then no worries