Package Details: rocketchat-desktop 3.9.14-1

Git Clone URL: https://aur.archlinux.org/rocketchat-desktop.git (read-only, click to copy)
Package Base: rocketchat-desktop
Description: Rocket.Chat Native Cross-Platform Desktop Application via Electron
Upstream URL: https://github.com/RocketChat/Rocket.Chat.Electron
Keywords: chat client electron rocket rocketchat
Licenses: MIT
Submitter: sum01
Maintainer: buzo
Last Packager: buzo
Votes: 29
Popularity: 0.045256
First Submitted: 2017-10-23 16:52 (UTC)
Last Updated: 2024-02-17 12:01 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 16 Next › Last »

serged commented on 2022-12-04 12:51 (UTC)

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 \

attention_horse commented on 2022-11-28 07:00 (UTC)

3.8.14 fails as well.

buzo commented on 2022-11-18 08:20 (UTC)

I know. I've already tried a few things, but without success. Does anybody have an idea? Or maybe this just needs to be fixed upstream.

In the meantime, if you really need the new version, the AUR package rocketchat-client-bin should work.

attention_horse commented on 2022-11-17 08:17 (UTC)

Rocket.Chat 3.8.13 fails to build:

ncc: Version 0.28.6
ncc: Compiling file index.js
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:140:10)
    at hashOf (/home/atten7ion/aur/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.13/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:37:1814625)
    at ncc (/home/atten7ion/aur/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.13/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:37:1818842)
    at runCmd (/home/atten7ion/aur/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.13/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:51862)
    at 819 (/home/atten7ion/aur/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.13/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:48659)
    at __webpack_require__ (/home/atten7ion/aur/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.13/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55378)
    at /home/atten7ion/aur/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.13/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55590
    at /home/atten7ion/aur/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.13/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55651
    at Object.<anonymous> (/home/atten7ion/aur/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.13/node_modules/@vercel/ncc/dist/ncc/cli.js:8:28) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/bin/node
Arguments: /usr/lib/node_modules/yarn/lib/cli.js run build
Directory: /home/atten7ion/aur/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.13/workspaces/desktop-release-action
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspaces for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: ".:build:workspaces" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...

reclusivesage commented on 2022-09-25 05:37 (UTC) (edited on 2023-04-21 00:14 (UTC) by reclusivesage)

Update (4/20/2023): The errors inexplicably stopped afterwards about 1 month later.

I keep getting connection errors with Yarn tries to upgrade. What can I do?

This is what I get with Mullvad:

==> Starting prepare()...
yarn upgrade v1.22.19
error An unexpected error occurred: "https://registry.yarnpkg.com/electron: connect ECONNREFUSED 2606:4700::6810:1623:443".
info If you think this is a bug, please open a bug report with the information provided in "/home/uSER/AUR/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.11/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/upgrade for documentation about this command.
==> ERROR: A failure occurred in prepare().
    Aborting...

And this is what I get with IVPN:

==> Starting prepare()...
yarn upgrade v1.22.19
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/electron: ETIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/home/uSER/AUR/rocketchat-desktop/src/Rocket.Chat.Electron-3.8.11/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/upgrade for documentation about this command.
==> ERROR: A failure occurred in prepare().
    Aborting...

attention_horse commented on 2022-05-04 05:52 (UTC)

Good news, my patches are not required with 3.8.6 (any more) :)

attention_horse commented on 2022-04-22 08:06 (UTC)

Still no luck without modifications:

diff --git a/PKGBUILD b/PKGBUILD
index 2d07533..aa0cb1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc='Rocket.Chat Native Cross-Platform Desktop Application via Electron.'
 arch=('any')
 url='https://github.com/RocketChat/Rocket.Chat.Electron'
 license=('MIT')
-depends=('electron' 'nodejs')
+depends=('electron' 'electron17' 'nodejs')
 makedepends=('node-gyp' 'yarn' 'asar')
 install=rocketchat-desktop.install
 changelog=CHANGELOG.md
@@ -18,7 +18,7 @@ source=("$pkgname-$pkgver.tar.gz::${url}/archive/${pkgver}/${pkgname}-${pkgver}.
         rocketchat-desktop
         rocketchat-desktop.desktop)
 sha256sums=('f5c586c38dae319073bd6a3d5a87a953551746753e0ae8d286cefba47b31cb77'
-            '5fe8f552b4ac1917a1bb08e86f957e9b892220a2aab59b88e8256e2e092e1b1c'
+            'e58afbc182494f80d0a6d8438f6331386458abbcf9e5cc1fc8d05999a9a5ece4'
             '31fae4f98a61a774f84030fd43d2ef92c7633740dc5aa55967a21d0e29ea621a')
 # validpgpkeys=('9EA06BE6FD613A03') # Tasso Evangelista

diff --git a/rocketchat-desktop b/rocketchat-desktop
index 5edafa6..bc23986 100755
--- a/rocketchat-desktop
+++ b/rocketchat-desktop
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec electron /usr/lib/rocketchat-desktop "$@"
+exec electron17 /usr/lib/rocketchat-desktop "$@"

Building and installing the package resolves the issue for me.

0xFF1E071F commented on 2022-04-20 14:56 (UTC)

Hello, i have updated to last electron and rocketchat-desktop. But unfortunately i am still getting the exact same error: blank gray screen after conntecing to my server

Rocketchat-desktop version: 3.8.3 electron version: 18.0.3

Error Message on Console

/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/bits/unique_ptr.h:659: typename std::add_lvalue_reference<element_type>::type std::unique_ptr<blink::CSSSelector []>::operator[](std::size_t) const [_Tp = blink::CSSSelector [], _Dp = std::default_delete<blink::CSSSelector []>]: Assertion 'get() != pointer()' failed.

BS86 commented on 2022-04-18 07:47 (UTC)

3.8.2 was not compatible with electron18. 3.8.3 now is according to the changelog: https://github.com/RocketChat/Rocket.Chat.Electron/releases/tag/3.8.3

so all good now