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
Generator output client
leads to Error: ENOENT: no such file or directory, open '.../node_modules/@prisma/client/schema.prisma'
#12295
Comments
Do I understand correctly that setting an |
@janpio yes,3.10.0、3.11.0、3.9.0 also happen,this error message will appear after i run script prisma generate and prisma migrate normally |
This is unexpected, as this functionality is probably used by many people and no one has reported this before. Does this also happen when you create a new project with |
here reproduce link https://github.com/xygengcn/prisma-demo, thanks |
I can confirm the problem:
(Also with 3.10.0) |
yes,also 3.11.0 dev |
This seems to be a special case when the Can you confirm? |
Yeath! Using foo instead of client,everything works as expected. @janpio |
client
leads to Error: ENOENT: no such file or directory, open '.../node_modules/@prisma/client/schema.prisma'
Thanks. We will treat this as a bug, I updated the issue title to make it easier to understand. |
Closing as already fixed in latest releases. |
Bug description
If you set the value of output, the following things will happen. If you do not set, the program is normal。
please help
How to reproduce
i can set output in new version
Expected behavior
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: