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
Prisma2 not working with netlify-lambda #1015
Comments
I am able to reproduce this. This is related to how photon should be handled with bundlers. We already have issues on that: prisma/prisma-client-js#119 Marking as a bug for now |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Internal Note: Opened issue for Netlify, waiting for progress there. |
Issue netlify/netlify-lambda#229 at netlify-lambda side has been auto closed :( |
I am not sure people are even using that package. Seems like netlify dev is the new cli now. These multiple CLIs from netlify is confusing..... |
Reached out internally: https://prisma-company.slack.com/archives/CAZ0TJPFV/p1616782683004000 |
Hello from Netlify! In the years since Also, as @pantharshit00 noted, we added the The one remaining functionality that |
Thank you so much for this update @verythorough - considering this development I think it is safe for us to close this issue and focus our efforts on other areas. |
I am using the netlify lambda cli. Not the netlify cli. https://github.com/netlify/netlify-lambda
Following up from the discussion here: #952
When I try to run prisma2 generate I get this error
When I switch platforms to binaryTargets it runs generate fine. But I still get this error on invocation
Here is my generator section of my schema.prisma
Even if I try adding darwin to that list it still errors, and just adds another darwin to the error message.
Make sure to adjust the generator configuration in the schema.prisma file:
The text was updated successfully, but these errors were encountered: