nicoalbanese / kirimase

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

Missing script: `pnpm run prisma migrate dev` #94

Closed elie222 closed 7 months ago

elie222 commented 7 months ago

This error shows up when adding a new model:

 ERR_PNPM_NO_SCRIPT  Missing script: prisma

Command "prisma" not found.

To fix manually I ran prisma myself.

nicoalbanese commented 7 months ago

have you tried running the command without run? From the docs[1] it's suggested to run pnpm dlx prisma *command* although pnpm prisma *command* works too

  1. https://www.prisma.io/docs/reference/api-reference/command-reference#pnpm-1
elie222 commented 7 months ago

Hey, I just I was on version 0.17 so this may be why I was seeing issues. I'll close these soon as it's probably not an error on latest version.

elie222 commented 7 months ago

Think it had to do with how I globally installed it for local dev a few months ago. I'm now on the latest 👍

nicoalbanese commented 7 months ago

No stress at all - happy you got it sorted!