Replies: 5 comments 9 replies
|
I just saw that this is actually possible as documented in https://github.com/prisma/prisma-engines but it requires Rust which is too bad. Why can't we have an npm package that just contains the binaries without needing to fetch them? |
|
Hey @puchm 👋 , Maintaining an NPM module with all the engines embedded would introduce a fairly large operational overhead due to the number of binaries and supported platforms. We do have the engines wrapper repo, but it just downloads binaries from You could manually download the necessary engines and then use them in CI with the |
|
FWIW, I'm also experiencing the same exact problem. In our enterprise Jenkins CI environment, it seems it isn't capable of reaching the binaries domain. The problem is during a I'm trying to workaround this with setting the engine env variables, but even having set them, it seems the post install script will still run? Perhaps it's because I only set the ENV for the Query Engine and not the rest, and the post install script will continue to try and download the rest (and since it will always attempt to use the default Perhaps the solution is to include ALL the engines, even the ones my app doesn't need for the host env? |
|
Hi everyone!! |
|
Hi there, To keep our discussions organized and focused on the most relevant topics, we’re reviewing and tidying up our backlog. As part of this process, we’re closing discussions that haven’t had any recent activity and appear to be outdated. If this discussion is still important to you or unresolved, we’d love to hear from you! Feel free to reopen it or start a new one with updated details. For more details about our priorities and vision for the future of Prisma ORM, check out our latest blog post: https://www.prisma.io/blog/prisma-orm-manifesto. Thank you for your understanding and being part of the community! |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am having some big issues pulling the engine from the mirror server (
https://binaries.prisma.sh). I have read that many people are having similar issues because they are behind corporate proxies or have issues with certificates. I get that there are ways around this as documented in some issues and documentation (#12162, docs).For me the current status is that (since I can't possibly put my personal password into our CI/CD pipeline) I need to do some requests for them to put up an internal mirror (as documented here: https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_engines_mirror).
This is slowing me down a lot - it even goes to the point where I need to consider switching to a different ORM.
I wanted to ask if there is any possibility we can build the query engines by ourself. I don't know anything about the way they are built but would be interested in hearing some thoughts.
All reactions