I have this error:
[!] SyntaxError: Unexpected token 'with'
at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:119:18)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:468:14)
at link (node:internal/modules/esm/module_job:68:21)
Search Criteria
Package Details: rocketchat-desktop 3.9.14-1
Package Actions
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.029534 |
First Submitted: | 2017-10-23 16:52 (UTC) |
Last Updated: | 2024-02-17 12:01 (UTC) |
Dependencies (6)
- electron22AUR (electron22-binAUR)
- libvips (libvips-gitAUR)
- nodejs (nodejs-gitAUR, nodejs-lts-fermiumAUR, nodejs-sharedAUR, nodejs-lts-hydrogen, nodejs-lts-iron)
- asar (make)
- node-gyp (corepackerAUR) (make)
- yarn (corepackerAUR, yarn-pnpm-corepackAUR, yarn-berryAUR) (make)
Required by (0)
Sources (2)
alieno commented on 2024-02-15 13:34 (UTC)
buzo commented on 2023-10-05 13:32 (UTC)
brody: Thanks, removed … I can add it again once upstream decides to maintain it again.
brody commented on 2023-09-25 12:23 (UTC)
Please update the CHANGLOG.md or remove the file. It is outdated.
manon commented on 2023-07-31 14:07 (UTC)
@Zjaume: Thanks a lot! editing the rocketchat-desktop file solved the issue
ZJaume commented on 2023-07-31 13:20 (UTC)
This happens because there is a new version of libicui18n and you need to recompile your electron21. Also, to change electron version, you also need to edit the 'rocketchat-desktop' file.
manon commented on 2023-07-31 12:32 (UTC)
Hello, As suggested in the precedent comment, I tried to modify the PKGBUILD in line 13 with:
_electron=electron22
It builds without errors, but when I launch the app the following error occurs:
/usr/lib/electron21/electron: error while loading shared libraries: libicui18n.so.72: cannot open shared object file: No such file or directory
Is there an other place where electron22 should be specified?
brody commented on 2023-06-19 08:50 (UTC) (edited on 2023-06-19 13:00 (UTC) by brody)
Please switch to electron22 like upstream. https://github.com/RocketChat/Rocket.Chat.Electron/blob/f6f5e2c6feadfdad7e05e2db8574a81e09ddf270/package.json#LL114C6-L114C14
swsnr commented on 2023-03-23 08:42 (UTC)
Fails to launch with
/usr/bin/rocketchat-desktop: line 2: exec: electron: not found
Looks as if "rocketchat-desktop" needs to be updated to call the required version.
ZJaume commented on 2023-03-22 09:09 (UTC)
Thanks! Could you please also call the required version in rocketchat-desktop
script? Currently is being launched on 22 if no version is specified, and it fails if wayland flags are set for electron22.
Pinned Comments