[GH-ISSUE #3084] [BUG]: A JavaScript error occurred in the main process #1975

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

Originally created by @gds-peter on GitHub (Feb 1, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3084

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Hallo,
I use openSUSE/Linux 15.6 and the latest AnythingLLM. The installation completes without errors. But I can't start the program:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /tmp/.org.chromium.Chromium.S6p3oH: Fehler beim Mappen des Shared Objects
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2131)
at Object. (node:internal/modules/cjs/loader:1356:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2358)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at bindings (/home/peter/AnythingLLMDesktop/anythingllm-desktop/resources/app.asar/node_modules/bindings/bindings.js:112:48)
at Object. (/home/peter/AnythingLLMDesktop/anythingllm-desktop/resources/app.asar/node_modules/@nut-tree-fork/libnut-linux/index.js:5:33)

This is the error-messages of every start.
Any hinds?

cu
Peter

Are there known steps to reproduce?

No response

Originally created by @gds-peter on GitHub (Feb 1, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3084 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Hallo, I use openSUSE/Linux 15.6 and the latest AnythingLLM. The installation completes without errors. But I can't start the program: A JavaScript error occurred in the main process Uncaught Exception: Error: /tmp/.org.chromium.Chromium.S6p3oH: Fehler beim Mappen des Shared Objects at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2131) at Object.<anonymous> (node:internal/modules/cjs/loader:1356:18) at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2358) at Module.load (node:internal/modules/cjs/loader:1126:32) at node:internal/modules/cjs/loader:967:12 at Function._load (node:electron/js2c/asar_bundle:2:13327) at Module.require (node:internal/modules/cjs/loader:1150:19) at require (node:internal/modules/cjs/helpers:110:18) at bindings (/home/peter/AnythingLLMDesktop/anythingllm-desktop/resources/app.asar/node_modules/bindings/bindings.js:112:48) at Object.<anonymous> (/home/peter/AnythingLLMDesktop/anythingllm-desktop/resources/app.asar/node_modules/@nut-tree-fork/libnut-linux/index.js:5:33) This is the error-messages of every start. Any hinds? cu Peter ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:27:30 -05:00
yindo closed this issue 2026-02-22 18:27:30 -05:00
Author
Owner

@timothycarambat commented on GitHub (Feb 1, 2025):

Are you running the AppImage on Linux Arm? This is coming from a UI automation library that is used only for computer-use feature. However, it is pre-loaded and that is throwing this error.

The desktop app does not support Linux ARM, only Windows Arm. Otherwise, you should use Docker on Linux Arm64 so that you can run this in a protected emulation layer.

@timothycarambat commented on GitHub (Feb 1, 2025): Are you running the AppImage on `Linux Arm`? This is coming from a UI automation library that is used only for `computer-use` feature. However, it is pre-loaded and that is throwing this error. The desktop app does _not_ support Linux ARM, only Windows Arm. Otherwise, you should use Docker on Linux Arm64 so that you can run this in a protected emulation layer.
Author
Owner

@gds-peter commented on GitHub (Feb 3, 2025):

No Linux Arm, it is x86:
kernel-default-6.4.0-150600.23.30.1.x86_64

@gds-peter commented on GitHub (Feb 3, 2025): No Linux Arm, it is x86: kernel-default-6.4.0-150600.23.30.1.x86_64
Author
Owner

@gds-peter commented on GitHub (Feb 6, 2025):

Solved: /tmp must be executable

@gds-peter commented on GitHub (Feb 6, 2025): Solved: /tmp must be executable
yindo changed title from [BUG]: A JavaScript error occurred in the main process to [GH-ISSUE #3084] [BUG]: A JavaScript error occurred in the main process 2026-06-05 14:43:46 -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#1975