nicoalbanese / kirimase

Build full-stack Next.js apps, incredibly fast
https://kirimase.dev
MIT License
2.39k stars 107 forks source link

Configuring Nrisma ERROR Failed to run Prisma generate: Command failed with exit code 1: pnpm prisma generate #133

Closed sharull9 closed 4 months ago

sharull9 commented 4 months ago

Config File

{
  "hasSrc": true,
  "packages": [
    "shadcn-ui",
    "prisma",
    "next-auth",
    "trpc",
    "resend",
    "stripe"
  ],
  "preferredPackageManager": "pnpm",
  "t3": false,
  "alias": "@",
  "rootPath": "src/",
  "componentLib": "shadcn-ui",
  "provider": "planetscale",
  "orm": "prisma",
  "driver": "mysql",
  "auth": "next-auth"
}

Describe the bug When initiating kirimase init and choosing prisma for orm it show configuring Nrisma and It failed the command but complete the other parts

To Reproduce kirimase init

Expected behavior I dont know why it is crashing but my prisma schema should be generated

Screenshots prisma-exit

Desktop (please complete the following information):

nicoalbanese commented 4 months ago

Thanks for flagging - this was happening because prisma generate is trying to run before prisma has been installed. This has been fixed and will be pushed in the next update coming later today.