Provide precompiled binaries for Windows on ARM
See original GitHub issueBug description
I just cannot pull my prisma schema to my database
PS C:\Users\brenn\OneDrive\Documentos\Faculdade\DOR\cocierge> yarn prisma generate
yarn run v1.22.19
$ C:\Users\brenn\OneDrive\Documentos\Faculdade\DOR\cocierge\node_modules\.bin\prisma generate
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Error: Unable to establish a connection to query-engine-node-api library. It seems that the current architecture arm64 is not supported, or that libc is missing from the system.
Details: Unable to require(`C:\Users\brenn\OneDrive\Documentos\Faculdade\DOR\cocierge\node_modules\prisma\query_engine-windows.dll.node`)
\\?\C:\Users\brenn\OneDrive\Documentos\Faculdade\DOR\cocierge\node_modules\prisma\query_engine-windows.dll.node is not a valid Win32 application.
\\?\C:\Users\brenn\OneDrive\Documentos\Faculdade\DOR\cocierge\node_modules\prisma\query_engine-windows.dll.node
[Context: getConfig]
How to reproduce
Expected behavior
Generate the prisma client
Prisma information
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model Functionary {
id Int @id @default(autoincrement())
name String
pis String
}
// Add your code using Prisma Client
Environment & setup
- OS: Windows 10 on ARM
- Database: PostgreSQL
- Node.js version: v16.13.0
Prisma Version
prisma : 4.3.1
@prisma/client : Not found
Current platform : windows
Query Engine (Node-API) : E_CANNOT_RESOLVE_VERSION (at node_modules\@prisma\engines\query_engine-windows.dll.node)
Migration Engine : E_CANNOT_RESOLVE_VERSION (at node_modules\@prisma\engines\migration-engine-windows.exe)
Introspection Engine : E_CANNOT_RESOLVE_VERSION (at node_modules\@prisma\engines\introspection-engine-windows.exe)
Format Binary : E_CANNOT_RESOLVE_VERSION (at node_modules\@prisma\engines\prisma-fmt-windows.exe)
Format Wasm : @prisma/prisma-fmt-wasm 4.3.0-32.c875e43600dfe042452e0b868f7a48b817b9640b
Default Engines Hash : c875e43600dfe042452e0b868f7a48b817b9640b
Studio : 0.473.0
Issue Analytics
- State:
- Created a year ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Building libraries for Windows on Arm
This guide uses Microsoft Visual Studio to compile and build libraries. Visual Studio is only supported on devices using a x86-based or AMD64/ ......
Read more >CMake release binaries for Windows on ARM (#21902) · Issues
The next step here is to get Windows ARM hardware for CI so we can run the test suite and (future) packaging pipelines....
Read more >Where can I find the binaries for arm-wince-pe-gcc?
I'm using CEGCC from SourceForce: http://cegcc.sourceforge.net/, and so far it works OK. I've managed to build a Windows API application, ...
Read more >Downloads Page - System.Data.SQLite.org.
This project makes use of Eagle, provided by Mistachkin Systems. Eagle: Secure Software Automation ... The Precompiled Binaries for Windows CE (.
Read more >Building native software - Gradle User Manual
These binaries may vary based on the tool chain used to build, the compiler/linker flags supplied, the dependencies provided, or additional source files ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I get this error when trying to build a Dockerfile. I am on a Macbook M1
Docker build error
DockerFile
Prisma Schema
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