[GH-ISSUE #931] [BUG]: Unusable for me. Something about prisma client. #560

Closed
opened 2026-02-22 18:20:10 -05:00 by yindo · 2 comments
Owner

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

How are you running AnythingLLM?

Docker (local)

What happened?

Downloaded the appimage, tried to run it.

Selected lmstudio and the included embedder.

Would not create a workspace just kept saying undefined.
Could not close it because it opens full screen with no controls. Had to force close it.

Re-opening it showed what I can only assume was the main window. Tried to create a workspace again but it errored.

I see this error:

Prisma Client could not locate the Query Engine for runtime "rhel-openssl-3.0.x".

This happened because Prisma Client was generated for "debian-openssl-3.0.x", but the actual deployment required "rhel-openssl-3.0.x".
Add "rhel-openssl-3.0.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "rhel-openssl-3.0.x"]
}

The following locations have been searched:
  /tmp/.mount_gearle8zoSqp/resources/backend/node_modules/.prisma/client
  /tmp/.mount_gearle8zoSqp/resources/backend/node_modules/@prisma/client
  /home/tim/Documents/anything-llm-desktop/anything-llm/server/node_modules/@prisma/client
  /tmp/prisma-engines
  /tmp/.mount_gearle8zoSqp/resources/backend/prisma

Are there known steps to reproduce?

No response

Originally created by @nmcbride on GitHub (Mar 19, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/931 ### How are you running AnythingLLM? Docker (local) ### What happened? Downloaded the appimage, tried to run it. Selected lmstudio and the included embedder. Would not create a workspace just kept saying undefined. Could not close it because it opens full screen with no controls. Had to force close it. Re-opening it showed what I can only assume was the main window. Tried to create a workspace again but it errored. I see this error: ``` Prisma Client could not locate the Query Engine for runtime "rhel-openssl-3.0.x". This happened because Prisma Client was generated for "debian-openssl-3.0.x", but the actual deployment required "rhel-openssl-3.0.x". Add "rhel-openssl-3.0.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it: generator client { provider = "prisma-client-js" binaryTargets = ["native", "rhel-openssl-3.0.x"] } The following locations have been searched: /tmp/.mount_gearle8zoSqp/resources/backend/node_modules/.prisma/client /tmp/.mount_gearle8zoSqp/resources/backend/node_modules/@prisma/client /home/tim/Documents/anything-llm-desktop/anything-llm/server/node_modules/@prisma/client /tmp/prisma-engines /tmp/.mount_gearle8zoSqp/resources/backend/prisma ``` ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:20:10 -05:00
yindo closed this issue 2026-02-22 18:20:10 -05:00
Author
Owner

@timothycarambat commented on GitHub (Mar 19, 2024):

Duplicate of https://github.com/Mintplex-Labs/anything-llm/issues/898

The solution is in there. Basically need to unbundle app image, run a command, and it will work. Has to do with a build issue on bundling. It is being working on in that issue.

@timothycarambat commented on GitHub (Mar 19, 2024): Duplicate of https://github.com/Mintplex-Labs/anything-llm/issues/898 The solution is in there. Basically need to unbundle app image, run a command, and it will work. Has to do with a build issue on bundling. It is being working on in that issue.
Author
Owner

@nmcbride commented on GitHub (Mar 19, 2024):

Gotcha thanks. I'll just use a different solution for now until there is a non-broken build.

@nmcbride commented on GitHub (Mar 19, 2024): Gotcha thanks. I'll just use a different solution for now until there is a non-broken build.
yindo changed title from [BUG]: Unusable for me. Something about prisma client. to [GH-ISSUE #931] [BUG]: Unusable for me. Something about prisma client. 2026-06-05 14:35:59 -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#560