10 Replies
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
did you run
prisma generate
?I forgot about that error.
windows xdd
what can i do
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
i'll give it a try
thx
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...
like thius one
Solution
well, i was trying while my server was running lol