Replies: 1 comment 3 replies
-
Do you have your schema in a special, non standard location? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
while building my app & running npm install, i can see that the postinstall hook is failing to locate the schema.prisma file.
> @prisma/client@2.2.0 postinstall /usr/app/node_modules/@prisma/client
> node scripts/postinstall.js
Error: Either provide --schema or make sure that you are in a folder with a schema.prisma file.
Also the documentation doesn't cover how to setup schema for hooks.
Beta Was this translation helpful? Give feedback.
All reactions