Package Details: librechat 0.8.7-1

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: VVS
Last Packager: VVS
Votes: 3
Popularity: 0.58
First Submitted: 2025-06-01 08:31 (UTC)
Last Updated: 2026-07-10 13:34 (UTC)

Latest Comments

es20490446e commented on 2026-07-14 00:21 (UTC)

It fails to build with:

npm error code EALLOWREMOTE
npm error Fetching packages of type "remote" have been disabled
npm error Refusing to fetch "xlsx@https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"

murchu27 commented on 2026-06-06 23:37 (UTC)

Same issue as @MelkHellmund. Had to manually update the build file with the new checksum. I'll paste it below for others' convenience, but obviously best if @envolution can update the source file so that people don't have to just trust this comment.

063927ce15c895c49252b1d0e12dbf7aa15c6a335630576db7cee0c4beaf964f  librechat.install

MeikHellmund commented on 2026-06-05 19:19 (UTC)

The checksum of librechat.install is wrong in recent version 0.8.6-1

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?