Package Details: librechat 0.7.9-2

Git Clone URL: https://aur.archlinux.org/librechat.git (read-only, click to copy)
Package Base: librechat
Description: Open-source ChatGPT clone fully customizable and compatible with any AI provider
Upstream URL: https://github.com/danny-avila/LibreChat
Licenses: MIT
Submitter: envolution
Maintainer: envolution
Last Packager: envolution
Votes: 1
Popularity: 0.90
First Submitted: 2025-06-01 08:31 (UTC)
Last Updated: 2025-08-04 23:11 (UTC)

Latest Comments

envolution commented on 2025-08-04 23:12 (UTC) (edited on 2025-08-04 23:13 (UTC) by envolution)

@hopeseekr thanks for the info, I was able to reproduce and have explicitly added them for the time being

hopeseekr commented on 2025-08-04 21:23 (UTC)

@envolution: The package wouldn't start. No custom configuration. No changes. I only want to use with Ollama but i didn't touch anything at first. I used journalctl -xeu librechat to see the js errors, went into /var/lib/librechat and ran the commands, and then i hit those dependencies.

I wondered if any of it is because i'm on cachyos on this machine but it'd be a first. Node 22.18.0, installed normally. not via nvm.

envolution commented on 2025-08-04 21:10 (UTC) (edited on 2025-08-04 21:17 (UTC) by envolution)

@hopeseekr melisearch seems to be optional (https://www.librechat.ai/docs/local/npm), and mongodb is already a dependency. I'm not sure about the node package management as that's managed upstream - do you happen to have errors logged or any supplemental information that lead you to requiring those specific node packages?

edit: sorry, seems i did not add mongodb as a dependency - I left details in the install script on how to install and enable it

hopeseekr commented on 2025-08-04 21:03 (UTC)

This package just would not run for me on cachyos with nodejs v22.

I had to do the following:

sudo -u librechat -s
mkdir -p /tmp/libre
cd /usr/lib/librechat
npm install --cache=/tmp/libre @smithy/signature-v4
npm install --cache=/tmp/libre @smithy/eventstream-codec
exit

sudo pacman -S meilisearch
sudo systemctl enable --now meilisearch.service
yay -S mongodb-bin
sudo systemctl enable --now mongodb.service

grandchild commented on 2025-06-05 08:31 (UTC)

Works now, thanks for the quick fix!

envolution commented on 2025-06-05 05:57 (UTC)

@grandchild thanks and yeah, i bungled the launch wrapper path. files in webapps are for optionally serving the front-end through nginx/httpd. anyways I've updated (rel-3) to fix it.

I haven't had a lot of time to test, so if you run to more issues please let me know

grandchild commented on 2025-06-05 04:12 (UTC)

Error: Cannot find module '/usr/share/webapps/librechat/api/server/index.js'

Seems the package spreads its files in both /usr/share/librechat/... and /usr/share/webapps/librechat/... and gets confused about it?