Skip to content

Commit fa10377

Browse files
authored
Merge pull request #142 from Shopify/add-windows-prisma-gotcha
[Docs] Add gotcha for windows and prisma issue
2 parents 11ea148 + 20c5de2 commit fa10377

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,20 @@ This is because a JWT token is expired. If you are consistently getting this e
208208

209209
If you choose to use MongoDB with Prisma, there are some gotchas in Prisma's MongoDB support to be aware of. Please see the [Prisma SessionStorage README](https://www.npmjs.com/package/@shopify/shopify-app-session-storage-prisma#mongodb).
210210

211+
### Unable to require(`C:\...\query_engine-windows.dll.node`).
212+
213+
Unable to require(`C:\...\query_engine-windows.dll.node`).
214+
The Prisma engines do not seem to be compatible with your system.
215+
216+
query_engine-windows.dll.node is not a valid Win32 application.
217+
218+
**Fix:** Set the environment variable:
219+
```shell
220+
PRISMA_CLIENT_ENGINE_TYPE=binary
221+
```
222+
223+
This forces Prisma to use the binary engine mode, which runs the query engine as a separate process and can work via emulation on Windows ARM64.
224+
211225
## Resources
212226

213227
React Router:

0 commit comments

Comments
 (0)