[GH-ISSUE #885] [BUG]: Prisma error #527

Closed
opened 2026-02-22 18:19:58 -05:00 by yindo · 3 comments
Owner

Originally created by @gaurishmehra on GitHub (Mar 11, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/885

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

i am using the anythingllm appimage.
os : arhclinux
log :
Error: Invalid prisma.workspaces.create() invocation: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x". This happened because Prisma Client was generated for "debian-openssl-3.0.x", but the actual deployment required "debian-openssl-1.1.x". Add "debian-openssl-1.1.x" to binaryTargets in the "schema.prisma" file and run prisma generate after saving it: generator client { provider = "prisma-client-js" binaryTargets = ["native", "debian-openssl-1.1.x"] } The following locations have been searched: /tmp/.mount_AnythidhJDAh/resources/backend/node_modules/.prisma/client /tmp/.mount_AnythidhJDAh/resources/backend/node_modules/@prisma/client /home/tim/Documents/anything-llm-desktop/anything-llm/server/node_modules/@prisma/client /tmp/prisma-engines /tmp/.mount_AnythidhJDAh/resources/backend/prisma

Are there known steps to reproduce?

No response

Originally created by @gaurishmehra on GitHub (Mar 11, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/885 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? i am using the anythingllm appimage. os : arhclinux log : Error: Invalid `prisma.workspaces.create()` invocation: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x". This happened because Prisma Client was generated for "debian-openssl-3.0.x", but the actual deployment required "debian-openssl-1.1.x". Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it: generator client { provider = "prisma-client-js" binaryTargets = ["native", "debian-openssl-1.1.x"] } The following locations have been searched: /tmp/.mount_AnythidhJDAh/resources/backend/node_modules/.prisma/client /tmp/.mount_AnythidhJDAh/resources/backend/node_modules/@prisma/client /home/tim/Documents/anything-llm-desktop/anything-llm/server/node_modules/@prisma/client /tmp/prisma-engines /tmp/.mount_AnythidhJDAh/resources/backend/prisma ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:19:58 -05:00
yindo closed this issue 2026-02-22 18:19:58 -05:00
Author
Owner

@gaurishmehra commented on GitHub (Mar 11, 2024):

okay i found a work around
first i extracted the appimage file to a folder, then i changed the contents of the file as mentioned in the logs, then i recompiled. It works now.

@gaurishmehra commented on GitHub (Mar 11, 2024): okay i found a work around first i extracted the appimage file to a folder, then i changed the contents of the file as mentioned in the logs, then i recompiled. It works now.
Author
Owner

@shatfield4 commented on GitHub (Mar 11, 2024):

Great thanks for the explanation of the workaround! Closing since the issue is resolved.

@shatfield4 commented on GitHub (Mar 11, 2024): Great thanks for the explanation of the workaround! Closing since the issue is resolved.
Author
Owner

@F-U-B-AR commented on GitHub (Sep 8, 2024):

I'm having the same issue with the exact same text - but I cant for the life of me work out how to fix it.

When I open the schema.prisma file I cant find any reference to "`binaryTargets" or even debian for that matter.

any help would be appreciated.

@F-U-B-AR commented on GitHub (Sep 8, 2024): I'm having the same issue with the exact same text - but I cant for the life of me work out how to fix it. When I open the **schema.prisma** file I cant find any reference to "`binaryTargets" or even debian for that matter. any help would be appreciated.
yindo changed title from [BUG]: Prisma error to [GH-ISSUE #885] [BUG]: Prisma error 2026-06-05 14:35:48 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#527