Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Javascript error when starting AnythingLLM #2710

Open
wadid opened this issue Nov 24, 2024 · 4 comments
Open

[BUG]: Javascript error when starting AnythingLLM #2710

wadid opened this issue Nov 24, 2024 · 4 comments
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.

Comments

@wadid
Copy link

wadid commented Nov 24, 2024

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

@wadid wadid added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Nov 24, 2024
@timothycarambat
Copy link
Member

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

@wadid
Copy link
Author

wadid commented 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.

@timothycarambat
Copy link
Member

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

@wadid
Copy link
Author

wadid commented Nov 25, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.
Projects
None yet
Development

No branches or pull requests

2 participants