Try this patch, works for me.
diff --git a/PKGBUILD b/PKGBUILD
index 40e999b..221d806 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,6 +32,7 @@ build() {
cd "Rocket.Chat.Electron-$pkgver"
local i686=ia32 x86_64=x64
export NODE_ENV=production
+ export NODE_OPTIONS='--openssl-legacy-provider'
yarn build
yarn run electron-builder --linux --"${!CARCH}" --dir \
-c.electronDist=/usr/lib/electron \
Pinned Comments