Skip to content
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

5.14.0 error: Cannot find model by name CreateManyUserAndReturnOutputType #214

Closed
Weakky opened this issue May 13, 2024 · 4 comments
Closed
Labels

Comments

@Weakky
Copy link

Weakky commented May 13, 2024

Overview

Hey, we're releasing Prisma 5.14.0 tomorrow and we've noticed that your generator is broken with that version. Specifically, generate fails with the following error:

$ pnpm prisma generate

Prisma schema loaded from prisma/schema.prisma
Error: 
Cannot find model by name CreateManyUserAndReturnOutputType

✔ Generated Prisma Client (v5.14.0-dev.71) to ./node_modules/.pnpm/@prisma+client@5.14.0-dev.71_prisma@5.14.0-dev.71/node_modules/@prisma/client in 32ms

This seems to come after the addition of the createManyAndReturn operation.

It can be reproduced here by running the run.sh script.

Let us know if we can help, cheers!

@hcharley
Copy link

hcharley commented May 14, 2024

I just started a fresh Prisma project today and I am seeing this. Just wanted to provide an FYI.

I rolled back to 5.13.0 and will update when this issue is fixed.

@Mario2280
Copy link

Mario2280 commented May 15, 2024

@unlight ПОЛОМКА https://github.com/prisma/prisma/releases из-за релиза(

@0-don
Copy link

0-don commented May 17, 2024

same problem

@unlight unlight reopened this May 19, 2024
github-actions bot pushed a commit that referenced this issue May 19, 2024
## [20.0.3](v20.0.2...v20.0.3) (2024-05-19)

### Bug Fixes

* Adapted to Prisma 5.14 ([35da088](35da088)), closes [#214](#214)
Copy link

🎉 This issue has been resolved in version 20.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants