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🤫🧏🏼
yourny🤫🧏🏼OP16mo ago
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
Neto16mo ago
did you run prisma generate?
yourny🤫🧏🏼
yourny🤫🧏🏼OP16mo ago
I forgot about that error.
Neto
Neto16mo ago
windows xdd
yourny🤫🧏🏼
yourny🤫🧏🏼OP16mo ago
what can i do
Neto
Neto16mo 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🤫🧏🏼
yourny🤫🧏🏼OP16mo ago
i'll give it a try thx
Neto
Neto16mo 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
Neto16mo 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