-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Provide precompiled binaries for Windows on ARM #15306
Comments
Can you try with |
Of course!
But he handle a lot of error (with is too big), I pasted in pastebin: https://pastebin.com/gmrqUZFL and here is the
|
Thank you for the pastebin! Just to confirm, was something similar also available for 4.3.1? This is the additional relevat information from the pastebin (one example):
So the binaries are failing with |
Some interesting context, so probably Windows ARM related indeed: vercel/pkg#1482 vercel/pkg#1663 |
The error returned from the |
Good news! So I just installed the NodeJS (x64) LTS from the NodeJS repository and I can switch between then using nvm nvm use 17.4.0 # Version with Windows ARM binaries and nvm use 16.17.1 # Version for Windows 64 bits So then I just: yarn prisma db push
yarn run v1.22.19
$ C:\Users\Samsung\Documents\faculdade\cocierge\node_modules\.bin\prisma db push
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Datasource "db": PostgreSQL database "pg_cocierge", schema "public" at "localhost:5432"
The database is already in sync with the Prisma schema.
✔ Generated Prisma Client (4.3.1 | library) to .\node_modules\@prisma\client in 461ms
Done in 7.71s. Working as normal |
I had the same issue on fresh install of Windows 11 64x on NodeJS (v16.18.0 LTS) All I had to do is install the necessary Visual Studio C++ Redistributable |
I got same error in alpine-arm64 in docker. here's what I got:
|
I get this error when trying to build a Dockerfile. I am on a Macbook M1 Docker build error
DockerFile
Prisma Schema
|
Got "Error: Unable to establish a connection to query-engine-node-api library. It seems that the current architecture x64 is not supported, or that libc is missing from the system. Details: Unable to require(`C:\t\faxtogo2\node_modules\prisma\query_engine-windows.dll.node`) The specified module could not be found. \\?\C:\t\faxtogo2\node_modules\prisma\query_engine-windows.dll.node [Context: getConfig] Prisma CLI Version : 4.3.1", was able to fix error by install Microsoft Visual C++ Redistributable based on prisma/prisma#15306
Same issue with on macbook pro 2017 with Intel cpu. Docker with Node 16 alpine
|
So, the answer is: in alpine node there is no open ssl package after some update. and need to use this (#16232 (comment)) |
Hey @olegKusov, please refer to #16553 (comment) for solving the problem you're facing when using Linux Alpine. |
* Update windows-development-setup.md Got "Error: Unable to establish a connection to query-engine-node-api library. It seems that the current architecture x64 is not supported, or that libc is missing from the system. Details: Unable to require(`C:\t\faxtogo2\node_modules\prisma\query_engine-windows.dll.node`) The specified module could not be found. \\?\C:\t\faxtogo2\node_modules\prisma\query_engine-windows.dll.node [Context: getConfig] Prisma CLI Version : 4.3.1", was able to fix error by install Microsoft Visual C++ Redistributable based on prisma/prisma#15306 * move to troubleshooting section Co-authored-by: Simon Gagnon <git@simoncrypta.dev> Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
* Update windows-development-setup.md Got "Error: Unable to establish a connection to query-engine-node-api library. It seems that the current architecture x64 is not supported, or that libc is missing from the system. Details: Unable to require(`C:\t\faxtogo2\node_modules\prisma\query_engine-windows.dll.node`) The specified module could not be found. \\?\C:\t\faxtogo2\node_modules\prisma\query_engine-windows.dll.node [Context: getConfig] Prisma CLI Version : 4.3.1", was able to fix error by install Microsoft Visual C++ Redistributable based on prisma/prisma#15306 * move to troubleshooting section Co-authored-by: Simon Gagnon <git@simoncrypta.dev> Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
Could you help me with this error? Prisma CLI Version : 4.9.0 |
Please open a new issue @gholiveira29 and provide all the information the bug issue template asks for. Thanks. |
To overcome this on the docker command, I pass the flag |
Please fix this, I cant run Prisma on my new Surface 🥲 |
Hey @StrawMonkey, would you consider running Prisma on WSL2 (Microsoft Docs)? We strongly recommend it, as supporting Prisma on Windows ARM isn't something we will probably be able to provide support for soon. |
Bug description
I just cannot pull my prisma schema to my database
How to reproduce
Expected behavior
Generate the prisma client
Prisma information
// Add your code using Prisma Client
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: