[GH-ISSUE #2710] [BUG]: Javascript error when starting AnythingLLM #1742

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

Originally created by @wadid on GitHub (Nov 24, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2710

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Just downloaded and installed the Desktop application on Windows 10. When starting it I get an error (see screenshot). Not sure what it is. After I click ok, the application continues and seems to start normally. (Although I didnt use any functionality yet).

Any idea what this is?

image

Are there known steps to reproduce?

No response

Originally created by @wadid on GitHub (Nov 24, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2710 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Just downloaded and installed the Desktop application on Windows 10. When starting it I get an error (see screenshot). Not sure what it is. After I click ok, the application continues and seems to start normally. (Although I didnt use any functionality yet). Any idea what this is? ![image](https://github.com/user-attachments/assets/fc69f563-9712-4721-ab00-7bb0eccdfe66) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:26:19 -05:00
yindo closed this issue 2026-02-22 18:26:19 -05:00
Author
Owner

@timothycarambat commented on GitHub (Nov 24, 2024):

Does this occur every time you open the app or only on the first time?

@timothycarambat commented on GitHub (Nov 24, 2024): Does this occur every time you open the app or only on the first time?
Author
Owner

@wadid commented on GitHub (Nov 24, 2024):

I added now an Api key and did chat with a model to see if the application works. Had no issues. But yes the error still shows up every time I start the application.

@wadid commented on GitHub (Nov 24, 2024): I added now an Api key and did chat with a model to see if the application works. Had no issues. But yes the error still shows up every time I start the application.
Author
Owner

@timothycarambat commented on GitHub (Nov 24, 2024):

If you open powershell in windows and drag and drop the shortcut into the terminal and press enter it should boot the app and printout all logs while running in that terminal.

If you can get me the full error log that would help a lot since that alert box is a truncated message

@timothycarambat commented on GitHub (Nov 24, 2024): If you open powershell in windows and drag and drop the shortcut into the terminal and press enter it should boot the app and printout all logs while running in that terminal. If you can get me the full error log that would help a lot since that alert box is a truncated message
Author
Owner

@wadid commented on GitHub (Nov 24, 2024):

╰─ start AnythingLLM                                                                                                           ─╯

╭─    ~\Desktop                                                                                            03:01:26  ─╮
╰─ [Preferences] preference config stored at C:\Users\XMYUSERNAMEX\AppData\Roaming\anythingllm-desktop\config.json                    ─╯
Prisma schema loaded from prisma\schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:C:/Users/XMYUSERNAMEX/AppData/Roaming/anythingllm-desktop/storage/anythingllm.db"

Already in sync, no schema change or pending migration was found.

✔ Generated Prisma Client (v5.3.1) to .\node_modules\@prisma\client in 212ms


Prisma schema loaded from prisma\schema.prisma

✔ Generated Prisma Client (v5.3.1) to .\node_modules\@prisma\client in 182ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)

import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()

or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)

import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()


See other ways of importing Prisma Client: http://pris.ly/d/importing-client

[OllamaProcessManager] Ollama will bind on port 11434 when booted.
[Preferences] Will load window with last know bounds.
[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[collector] info: Collector hot directory and tmp storage wiped!
[collector] info: [production] AnythingLLM Standalone Document processor listening on port 8888.
[backend] info: [TELEMETRY ENABLED] Anonymous Telemetry enabled. Telemetry helps Mintplex Labs Inc improve AnythingLLM.
[backend] info: prisma:info Starting a sqlite pool with 9 connections.
[backend] info: [TELEMETRY SENT] {"event":"server_boot","distinctId":"a41162c3-1cd0-433f-a0e2-98f6922b1d16","properties":{"runtime":"desktop"}}
[backend] info: Skipping preloading of AnythingLLMOllama - LLM_PROVIDER is openai.
[backend] info: [CommunicationKey] RSA key pair generated for signed payloads within AnythingLLM services.
[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[backend] info: [production] AnythingLLM Standalone Backend listening on port 3001. Network discovery is disabled.
[backend] info: [BackgroundWorkerService] Feature is not enabled and will not be started.



does that help?

same error window appeared

@wadid commented on GitHub (Nov 24, 2024): ``` ╰─ start AnythingLLM ─╯ ╭─    ~\Desktop     03:01:26  ─╮ ╰─ [Preferences] preference config stored at C:\Users\XMYUSERNAMEX\AppData\Roaming\anythingllm-desktop\config.json ─╯ Prisma schema loaded from prisma\schema.prisma Datasource "db": SQLite database "anythingllm.db" at "file:C:/Users/XMYUSERNAMEX/AppData/Roaming/anythingllm-desktop/storage/anythingllm.db" Already in sync, no schema change or pending migration was found. ✔ Generated Prisma Client (v5.3.1) to .\node_modules\@prisma\client in 212ms Prisma schema loaded from prisma\schema.prisma ✔ Generated Prisma Client (v5.3.1) to .\node_modules\@prisma\client in 182ms Start using Prisma Client in Node.js (See: https://pris.ly/d/client) import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient() or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate) import { PrismaClient } from '@prisma/client/edge' const prisma = new PrismaClient() See other ways of importing Prisma Client: http://pris.ly/d/importing-client [OllamaProcessManager] Ollama will bind on port 11434 when booted. [Preferences] Will load window with last know bounds. [backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data. [collector] info: Collector hot directory and tmp storage wiped! [collector] info: [production] AnythingLLM Standalone Document processor listening on port 8888. [backend] info: [TELEMETRY ENABLED] Anonymous Telemetry enabled. Telemetry helps Mintplex Labs Inc improve AnythingLLM. [backend] info: prisma:info Starting a sqlite pool with 9 connections. [backend] info: [TELEMETRY SENT] {"event":"server_boot","distinctId":"a41162c3-1cd0-433f-a0e2-98f6922b1d16","properties":{"runtime":"desktop"}} [backend] info: Skipping preloading of AnythingLLMOllama - LLM_PROVIDER is openai. [backend] info: [CommunicationKey] RSA key pair generated for signed payloads within AnythingLLM services. [backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data. [backend] info: [production] AnythingLLM Standalone Backend listening on port 3001. Network discovery is disabled. [backend] info: [BackgroundWorkerService] Feature is not enabled and will not be started. ``` does that help? same error window appeared
Author
Owner

@timothycarambat commented on GitHub (Jan 6, 2025):

We have identified the root cause. This has no impact on use of AnythingLLM. It comes from the handler function for if you use the Computer use automation agent.

It only effects desktop and will be patched in 1.7.2

If you have some issue and happen to have seen this error, it is not related to whatever your issue may have been (eg: model dropdown not population, etc)

@timothycarambat commented on GitHub (Jan 6, 2025): We have identified the root cause. This has **no impact** on use of AnythingLLM. It comes from the handler function for if you use the [Computer use automation agent](https://docs.anythingllm.com/beta-preview/active-features/computer-use). It only effects desktop and will be patched in 1.7.2 If you have some issue and happen to have seen this error, it is not related to whatever your issue may have been (eg: model dropdown not population, etc)
yindo changed title from [BUG]: Javascript error when starting AnythingLLM to [GH-ISSUE #2710] [BUG]: Javascript error when starting AnythingLLM 2026-06-05 14:42:26 -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#1742