P
Prisma•2mo ago
ZGeek

prisma query engine failing to download for local server?

I am attempting to run a local development server using the prisma dev command in a Nextjs project. When I set up the prisma environment and create this local server, and run prisma studio to check the status of it, I receive the following error:
Error: Couldn't download engine. URL: https://binaries.prisma.sh/all_commits/9b628578b3b7cae625e8c927178f15a170e74a9c/windows/query-engine.gz, status code: 404
Error: Couldn't download engine. URL: https://binaries.prisma.sh/all_commits/9b628578b3b7cae625e8c927178f15a170e74a9c/windows/query-engine.gz, status code: 404
What could be causing this? I tested this by setting up a Nextjs project using this guide: https://www.prisma.io/docs/guides/nextjs Prisma v6.11.1, Node v23.8.0, Windows 10, using Prisma Accelerate.
How to use Prisma ORM and Prisma Postgres with Next.js 15 and Verce...
Learn how to use Prisma ORM in a Next.js app and deploy it to Vercel
7 Replies
Prisma AI Help
Prisma AI Help•2mo ago
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the #ask-ai channel awaits if you're curious!
Nurul
Nurul•2mo ago
Is your repository open source by any chance? If yes, can you share the link with me?
ZGeek
ZGeekOP•2mo ago
Unfortunately no, the code base this is being deployed on is private and will need to stay that way. I can share the test environment mentioned previously that I had created and received the same exact result though: https://github.com/ZGeek03/prisma-test
GitHub
GitHub - ZGeek03/prisma-test
Contribute to ZGeek03/prisma-test development by creating an account on GitHub.
Nurul
Nurul•2mo ago
Can you please check if you get the same error in Prisma version 6.12 as well?
ZGeek
ZGeekOP•2mo ago
I do seem to get the same error with 6.12, yes. I am starting to think it might be some obscure configuration issue on my workstation, but not sure what that could be.
Error: Couldn't download engine. URL: https://binaries.prisma.sh/all_commits/8047c96bbd92db98a2abc7c9323ce77c02c89dbc/windows/query-engine.gz, status code: 404
Error: Couldn't download engine. URL: https://binaries.prisma.sh/all_commits/8047c96bbd92db98a2abc7c9323ce77c02c89dbc/windows/query-engine.gz, status code: 404
I pushed the most recent change (version locking for 6.12) to the above repo. I was able to get the environment to work if I did everything from a WSL2 instance, running Ubuntu. So, I cannot run it directly in Windows 10, but through Linux I can.
Nurul
Nurul•2mo ago
Weird! This seems specific to windows then 🤔 Do you mind creating a GitHub Issue so that our ORM team can have a look? https://github.com/prisma/prisma/issues
ZGeek
ZGeekOP•2mo ago
I can take a look at doing that, sure! Thanks for responding.

Did you find this page helpful?