You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error: Get DMMF: NodeAPIQueryEngineLibrary.dmmf is not a function
"
To Reproduce
Steps to reproduce the behavior:
Create a nextjs project and run kirimase init
run "npm run db:generate"
See error
Expected behavior
Being able to work with the generated scaffold :)
Screenshots
The text was updated successfully, but these errors were encountered:
The used version of Prisma is affected, remove prisma from the package.json and install it using "npm i prisma", It should fix it. don't forget to remove also your node_modules and run "npm i" again.
Config File
{
"hasSrc": true,
"packages": [
"shadcn-ui",
"prisma",
"next-auth",
"stripe"
],
"preferredPackageManager": "npm",
"t3": false,
"alias": "@",
"analytics": true,
"rootPath": "src/",
"componentLib": "shadcn-ui",
"orm": "prisma",
"driver": "sqlite",
"auth": "next-auth"
}
Describe the bug
After runnin kirimase init, when I run "npm run db:generate" I get the following error:
"
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error: Get DMMF: NodeAPIQueryEngineLibrary.dmmf is not a function
"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Being able to work with the generated scaffold :)
Screenshots
The text was updated successfully, but these errors were encountered: