-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not seem to work with T3 stack out of the box 🤔 #113
Comments
im also running t3 and i got this error when installing in an existing repo: add to prisma schema
$ prisma db push The database is already in sync with the Prisma schema. Running generate... (Use --skip-generate to skip the generators) /bin/sh: zod-prisma-types: command not found |
@MichaelOren thanks for the report! There ist a known issue with the latest version of zod. See #98. which Version of zod ist currently installed in a blank t3 Stack? Maybe this ist the cause dir this Bug? |
@fotoflo This seems to bei some other bug. I'll look into it. |
Thanks for the quick response! This is from the package.json "zod": "^3.21.4",
"zod-prisma-types": "^2.5.1" Confirmed rolling back to Closing this issue as duplicate of 98 |
Rolling back zod to I also just noticed the known issues reference in the |
Hey Chris,
Thanks for your work!
I can't seem to get it to work with a blank T3 stack out of the box
Outputted Prisma Schema
npm install
works fine and outputs the zod schemas fine.After running
npm run build
I get the following error:I have no idea how to debug this error 😅 , any help would be appreciated 🙏
Reproduction instructions
Run
npm create t3-app@latest
and follow the prompts, select all of the options (prisma, trpc, nextauth and tailwind)Install this package (
npm install zod-prisma-types
)npm i
and thennpm run build
The text was updated successfully, but these errors were encountered: