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
Run blitz prisma migrate dev, which results in this error:
Environment variables loaded from .env
Prisma schema loaded from db/schema.prisma
Datasource "db": SQLite database "db.sqlite" at "file:./db.sqlite"
Already in sync, no schema change or pending migration was found.
Running generate... (Use --skip-generate to skip the generators)
Error: Generator at zod-prisma could not start:
/bin/sh: 1: zod-prisma: not found
To me I loks like zod-prisma haven't been properly installed, and I suspect must have missed something in the documentation have yet to find exactly what. Do you have any suggestions as to how to debug this?
In the mean while I'm going for node_modules/zod-prisma/bin/cli.js as the provider.
The text was updated successfully, but these errors were encountered:
It looks like it was a configuration issue on my end that I didn't spot at first because of the version of yarn I was using. I've updated the bin entry in package.json to use the correct format, among some other small changes and published the update.
Thanks for pointing out the issue and let me know if this doesn't resolve the problem for you.
Hi. I'm trying to get this great library to work in a (Blitzjs with) Prisma project, but don't seem to get it installed properly.
Steps:
Add this to schema.prisma:
Run
blitz prisma migrate dev
, which results in this error:To me I loks like
zod-prisma
haven't been properly installed, and I suspect must have missed something in the documentation have yet to find exactly what. Do you have any suggestions as to how to debug this?In the mean while I'm going for
node_modules/zod-prisma/bin/cli.js
as the provider.The text was updated successfully, but these errors were encountered: