Upgrading from Prisma 1
I'm following the guide I've installed the
[email protected]
but when I try to run yarn prisma init
to setup the new project I get "Error: Unknown binaryTarget debian-openssl-3.3.x and no custom binaries were provided". How do I proceed?
I've tried installing [email protected]
as suggested in this question but still get the same error.
I'm running with yarn on Node 16 on EndeavourOS (Arch). I have openssl 3.3.1 package installed also.Stack Overflow
Unknown binaryTarget debian-openssl-3.0.x and no custom binaries we...
Is there any way I can solve this problem? I recently updated to Ubuntu 22.04
Getting the problem while using Prisma.I can't run my project. I have use "@prisma/client": "2.20.1"
3 Replies
After a bit of fiddling, it seems that we have to jump straight from v1 to 4.10 at a minimum. Going to try going to 4.16.2 and see what happens...
I think this is going to be less of an upgrade process and more of a "start from scratch"
We are still stuck with Prisma1 as well and have been unable to upgrade (not for the lack of trying), we decided to start from scratch
Yeah that's basically what I'm doing. The new DB introspection only looks at the database state rather than the GraphQL files that prisma1 uses so I'm going to have to spend a fair bit of time fixing that before I get on to updating literally thousands of queries in our application
Going to have to apply a few preliminary database changes so that it understands which relationships are 1-many and which are many-many