[GH-ISSUE #4895] [BUG]: Uncaught Exception "spawn ENOENT" on startup after updating via Scoop #3080

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

Originally created by @Milor123 on GitHub (Jan 22, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4895

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Describe the bug
After updating the application to the latest version using Scoop, I am unable to open the application interface. When I try to launch the app, a "JavaScript error occurred in the main process" dialog appears.

After clicking "Aceptar" (OK), the application window does not show up, but the process remains running in the background (visible in Task Manager).

Error Log
The error dialog shows the following ENOENT exception, indicating a pathing issue:

Uncaught Exception:
Error: spawn C:\Users\User\scoop\apps\anythingllm\current\AnythingLLM.exe ENOENT
  at ChildProcess._handle.onexit (node:internal/child_process:286:19)
  at onErrorNT (node:internal/child_process:484:16)
  at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

To Reproduce
Steps to reproduce the behavior:

  1. Install AnythingLLM via Scoop.
  2. Update to the latest version [v1.10.0]
  3. Attempt to launch the application (via shortcut or terminal).
  4. See the JavaScript error dialog.

Expected behavior
The application should launch correctly and display the main window without pathing errors.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Installation Method: Scoop package manager
  • Version: Latest (post-update) -> [v1.10.0]

Are there known steps to reproduce?

No response

Originally created by @Milor123 on GitHub (Jan 22, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4895 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? **Describe the bug** After updating the application to the latest version using Scoop, I am unable to open the application interface. When I try to launch the app, a "JavaScript error occurred in the main process" dialog appears. After clicking "Aceptar" (OK), the application window does not show up, but the process remains running in the background (visible in Task Manager). **Error Log** The error dialog shows the following `ENOENT` exception, indicating a pathing issue: ```text Uncaught Exception: Error: spawn C:\Users\User\scoop\apps\anythingllm\current\AnythingLLM.exe ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) ``` **To Reproduce** Steps to reproduce the behavior: 1. Install AnythingLLM via Scoop. 2. Update to the latest version [v1.10.0] 3. Attempt to launch the application (via shortcut or terminal). 4. See the JavaScript error dialog. **Expected behavior** The application should launch correctly and display the main window without pathing errors. **Screenshots** <img width="539" height="209" alt="Image" src="https://github.com/user-attachments/assets/f860e461-9d5a-4084-8490-91ec77220b3e" /> **Desktop (please complete the following information):** * **OS:** Windows 11 * **Installation Method:** Scoop package manager * **Version:** Latest (post-update) -> [v1.10.0] ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:32:31 -05:00
yindo closed this issue 2026-02-22 18:32:31 -05:00
Author
Owner

@shatfield4 commented on GitHub (Jan 22, 2026):

The Mintplex team does not support installing AnythingLLM via Scoop and we cannot guarantee installing via Scoop will work since this is a 3rd party application manager.

Download the official AnythingLLM Desktop application from our download page here.

@shatfield4 commented on GitHub (Jan 22, 2026): The Mintplex team does not support installing AnythingLLM via Scoop and we cannot guarantee installing via Scoop will work since this is a 3rd party application manager. Download the official AnythingLLM Desktop application from our download page [here](https://anythingllm.com/desktop).
Author
Owner

@timothycarambat commented on GitHub (Jan 23, 2026):

Also, for what it is worth and depending on how Scoop even functions that error is coming from Scoop not** AnythingLLM though.

It cannot find the file AnythingLLM.exe in their application folder, thus the spawn from their app installer fails.
If you open the folder C:\Users\User\scoop\apps\anythingllm\current\ you should see AnythingLLM.exe in there, but if it is by another name then you need to manually rename it so the spawn works.

This is a bug with scoop or for whatever reason it failing to pull in the installer into the right place.

@timothycarambat commented on GitHub (Jan 23, 2026): Also, for what it is worth and depending on how Scoop even functions that error is coming from Scoop not** AnythingLLM though. It cannot find the file `AnythingLLM.exe` in their application folder, thus the `spawn` from their app installer fails. If you open the folder `C:\Users\User\scoop\apps\anythingllm\current\` you **should** see AnythingLLM.exe in there, but if it is by another name then you need to manually rename it so the spawn works. This is a bug with scoop or for whatever reason it failing to pull in the installer into the right place.
Author
Owner

@Milor123 commented on GitHub (Jan 25, 2026):

Also, for what it is worth and depending on how Scoop even functions that error is coming from Scoop not** AnythingLLM though.

It cannot find the file AnythingLLM.exe in their application folder, thus the spawn from their app installer fails. If you open the folder C:\Users\User\scoop\apps\anythingllm\current\ you should see AnythingLLM.exe in there, but if it is by another name then you need to manually rename it so the spawn works.

This is a bug with scoop or for whatever reason it failing to pull in the installer into the right place.

Hello, it's strange, but I had also verified that the AnythingLLM.exe file was there, however, it always gave me the same error the first time, and then it showed nothing, instead the .exe processes accumulated without showing anything.

if I killed the .exe process and ran it again, the error would reappear.

as @shatfield4 says it works if I use the original, the scoop version is the one with the problem. it's strange, it had always worked well for me.

@Milor123 commented on GitHub (Jan 25, 2026): > Also, for what it is worth and depending on how Scoop even functions that error is coming from Scoop not** AnythingLLM though. > > It cannot find the file `AnythingLLM.exe` in their application folder, thus the `spawn` from their app installer fails. If you open the folder `C:\Users\User\scoop\apps\anythingllm\current\` you **should** see AnythingLLM.exe in there, but if it is by another name then you need to manually rename it so the spawn works. > > This is a bug with scoop or for whatever reason it failing to pull in the installer into the right place. Hello, it's strange, but I had also verified that the AnythingLLM.exe file was there, however, it always gave me the same error the first time, and then it showed nothing, instead the .exe processes accumulated without showing anything. if I killed the .exe process and ran it again, the error would reappear. as @shatfield4 says it works if I use the original, the scoop version is the one with the problem. it's strange, it had always worked well for me.
yindo changed title from [BUG]: Uncaught Exception "spawn ENOENT" on startup after updating via Scoop to [GH-ISSUE #4895] [BUG]: Uncaught Exception "spawn ENOENT" on startup after updating via Scoop 2026-06-05 14:50:11 -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#3080