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

fix(client): add generator-build to package.json exports #23015

Merged
merged 4 commits into from
Feb 8, 2024

Conversation

Kuhave
Copy link
Contributor

@Kuhave Kuhave commented Feb 8, 2024

Hi, I'm using old nexus-plugin-prisma module.

After applying prisma 5.9.1, I've found this error:
image

This is because of changed conditional exports in @prisma/client at prisma version 5.9.0, especially exports part of Prisna client's package.json.

After I've add this commited change lines to @prisma/client/package.json on my local node_modules, it is resolved.

It will Fixes #22927

@Kuhave Kuhave requested a review from a team as a code owner February 8, 2024 09:35
@Kuhave Kuhave requested review from Jolg42 and jkomyno and removed request for a team February 8, 2024 09:35
@janpio janpio requested a review from millsp February 8, 2024 11:10
@millsp millsp added this to the 5.10.0 milestone Feb 8, 2024
@millsp millsp self-assigned this Feb 8, 2024
@millsp
Copy link
Member

millsp commented Feb 8, 2024

Thanks for your contribution @Kuhave, it looks good to me. I added a small regression test.

@Jolg42 Jolg42 merged commit 5b62e6f into prisma:main Feb 8, 2024
151 of 155 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing export @prisma/client/generator-build
3 participants