[GH-ISSUE #1703] Possible to ignore NPM Packages? #1116

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

Originally created by @ericthomas1 on GitHub (Jun 17, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1703

Hello,

There are some features of Anything LLM that we do not want to enable. Things like anthropic*, google*, weaviate*, qdrant* etc.

Can we remove these packages from the server/package.json and still have a successful installation of Anything LLM?

Thank you

Originally created by @ericthomas1 on GitHub (Jun 17, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1703 Hello, There are some features of Anything LLM that we do not want to enable. Things like `anthropic*`, `google*`, `weaviate*`, `qdrant*` etc. Can we remove these packages from the `server/package.json` and still have a successful installation of Anything LLM? Thank you
yindo closed this issue 2026-02-22 18:23:10 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jun 17, 2024):

You could, as if the resulting code that references those imports is not explicitly called the service should not crash. Obviously, we don't recommend doing this, but it is possible if this is some kind of requirement you have

@timothycarambat commented on GitHub (Jun 17, 2024): You could, as if the resulting code that references those imports is not explicitly called the service should not crash. Obviously, we don't recommend doing this, but it is possible if this is some kind of requirement you have
Author
Owner

@ericthomas1 commented on GitHub (Jun 17, 2024):

Thank you for the quick response.

Just so I'm clear:

  1. If I remove these packages from server/package.json, Anything LLM would install without issue. AND
  2. If I either...
    • ...remove the ability for a user to call the missing reference OR
    • ...if I don't call the missing references myself in, say, the admin area...
      ...Anything LLM should work?
@ericthomas1 commented on GitHub (Jun 17, 2024): Thank you for the quick response. **Just so I'm clear**: 1. If I remove these packages from `server/package.json`, Anything LLM would *install* without issue. AND 2. If I either... - ...remove the ability for a user to call the missing reference OR - ...if I don't call the missing references myself in, say, the admin area... ...Anything LLM should work?
Author
Owner

@timothycarambat commented on GitHub (Jun 17, 2024):

yes, but again - if it doesnt work we cannot help or will support running AnythingLLM in that manner. We include the packages because they are part of the app. So you can do that at your own risk

@timothycarambat commented on GitHub (Jun 17, 2024): yes, but again - if it doesnt work we cannot help or will support running AnythingLLM in that manner. We include the packages because they are part of the app. So you can do that at your own risk
yindo changed title from Possible to ignore NPM Packages? to [GH-ISSUE #1703] Possible to ignore NPM Packages? 2026-06-05 14:39:03 -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#1116