the URL must start with file:

Can smbdy tell me why am I getting this error?
Solution:
well, i was trying while my server was running lol
Jump to solution
10 Replies
yourny🤫🧏🏼
datasource db { provider = "mysql" url = env("DATABASE_URL") relationMode = "prisma" } generator client { provider = "prisma-client-js" } model User { id Int @id @default(autoincrement()) email String @unique @map("user_email") password String @map("hashed_password") createdAt DateTime @default(now()) updatedAt DateTime @updatedAt } That's my schema
Neto
Neto14mo ago
did you run prisma generate?
yourny🤫🧏🏼
I forgot about that error.
Neto
Neto14mo ago
windows xdd
yourny🤫🧏🏼
what can i do
Neto
Neto14mo ago
you can delete the node_modules folder and install again if it does not work, probably search into the prisma github for the issue related to that
yourny🤫🧏🏼
i'll give it a try thx
Neto
Neto14mo ago
GitHub
Handle EPERM errors on Windows when trying to use Prisma · Issue ...
Unfortunately we have more and more reports of Windows users hitting problems with `EPERM: operation not permitted, unlink 'C:...\node_modules.prisma\client\query_engine-windows.dll.node' a...
Neto
Neto14mo ago
like thius one
Solution
yourny🤫🧏🏼
well, i was trying while my server was running lol
Want results from more Discord servers?
Add your server