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

Vercel deploy fails #12

Open
proton1k opened this issue Aug 3, 2022 · 0 comments
Open

Vercel deploy fails #12

proton1k opened this issue Aug 3, 2022 · 0 comments

Comments

@proton1k
Copy link

proton1k commented Aug 3, 2022

Hi,
this is the error in logs on deploy on Vercel:

Error:
--
21:01:42.712 | You don't have any models defined in your schema.prisma, so nothing will be generated.
21:01:42.712 | You can define a model like this:
21:01:42.712 |  
21:01:42.712 | model User {
21:01:42.712 | id    Int     @id @default(autoincrement())
21:01:42.712 | email String  @unique
21:01:42.713 | name  String?
21:01:42.713 | }

Previous error was due to wrong prisma configuration: inability to parse the db config which has to start with "file:" ... 🤔❓

I've added all possibly necessary environment variables from .env but can't get pass it. The RedwoodJS documentations also says nothing about this, only "success path", no troubleshooting notes.

Do you have any idea why, what's wrong? The code is literally the same from this repo plus from the article on Supabase pages.

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