Amazon Linux 2023 support
I'm trying (and failing) to run Prisma on Node 16 on AL2023 (x86_64. Am I right in thinking that it's not compatible as it's not downstream of Alpine, Debian or RHEL?
6 Replies
Hi @Moray
Can you please share the error message you're getting? We have had users who confirmed they were able to run Prisma with Amazon Linux 2023 in this closed issue
GitHub
Amazon Linux 2023 ARM64 incompatibility · Issue #19906 · prisma/pri...
Problem While using Sveltekit for a project with Prisma it builds without any issue however on running node build/index.js the application crashes with this message: (..)build/server/chunks/prisma-...
Hi @RaphaelEtim , thanks for getting back to me. I'm running on x86_64, not ARM64
It seems to only be showing the error for
@prisma/sdk
as queries from my application using Prisma are working fine!
@RaphaelEtim any news on this?
Something very weird is going on with this, I've just tried setting up a fresh AL2023 server. I'm getting the same error but unlike my other servers now the install completely fails and nothing prisma-related works
Obviously the file its trying to download doesn't exist
What is this file for? Can I build it myself instead of relying on someone else to provide it?
@RaphaelEtim at the suggestion of your AI assistant I upgraded to Prisma 5, but that still won't install on AL2023Hi @Moray
I'll check in with the team with regards this and get back to you.
The file Prisma is trying to download is an engine binary, which is essential for Prisma to function correctly. These binaries are platform-specific and are usually automatically downloaded during the installation or generation process. Can you try using a different internet connection, mobile hotspot, or VPN to see if this resolves the download issue
The server is running in AWS eu-west-2a, so I would be VERY surprised if it's a connection issue.
I've tried downloading the file at on several browsers and it definitely doesn't exist. https://binaries.prisma.sh/all_commits/e11114fa1ea826f9e7b4fa1ced34e78892fe8e0e/rhel-openssl-3.0.x/introspection-engine.gz
Because it's baked into the package install process, I'm not really sure what I can do about it at my end
It seems odd that it's an issue in Prisma 3 and Prisma 5.
it seems odd that it’s an issue in Prisma 3 and 5Does it work with Prisma 4?
No, I get the same error message
OK I think I've figured it out. If I remove
prisma-upgrade
from my devDependencies
then it works. Not sure why it was interfering with installing the main packages but at least that unblocks me!