For Element v1.10.9 the build fails for me and I get this error from yarn right after yarn run v1.22.18
:
error Command "reskindex" not found.
If I remove yarn reskindex
from the PKGBUILD it builds just fine.
Git Clone URL: | https://aur.archlinux.org/element-desktop-git.git (read-only, click to copy) |
---|---|
Package Base: | element-desktop-git |
Description: | Glossy Matrix collaboration client — desktop version. |
Upstream URL: | https://element.io |
Licenses: | Apache |
Conflicts: | element-desktop |
Provides: | element-desktop |
Submitter: | idanoo |
Maintainer: | Xangelix |
Last Packager: | Xangelix |
Votes: | 14 |
Popularity: | 0.000000 |
First Submitted: | 2020-07-18 02:27 (UTC) |
Last Updated: | 2024-08-14 19:58 (UTC) |
For Element v1.10.9 the build fails for me and I get this error from yarn right after yarn run v1.22.18
:
error Command "reskindex" not found.
If I remove yarn reskindex
from the PKGBUILD it builds just fine.
missing translation: en|Failed to start missing translation: en|Your Element is misconfigured missing translation: en|Unexpected error preparing the app. See console for details.
Hello, thanks for the package!
Please, take a look at https://github.com/vector-im/element-web/issues/16555 for a workaround with yarn reskindex
if having issue like:
Module not found: Error: Can't resolve './component-index' in '/path/to/git/element-web/node_modules/matrix-react-sdk/src'
and consider change "${pkgname}" to something like "${pkgname%-git}".sh for the binary (since desktop file is without git suffix)
1.8.1 doesnt build for me and gives the error
ModuleNotFoundError: Module not found: Error: Can't resolve './component-index' in '/home/xx/.cache/pikaur/build/element-desktop-git/src/element-web/node_modules/matrix-react-sdk/src'
I also receive error messages:
==> Missing dependencies:
-> nodejs<16
==> ERROR: Could not resolve all dependencies.
error: failed to build 'element-desktop-git-1.7.25.r21.ge4c9444fe-1 (element-web-git element-desktop-git)':
error: packages failed to build: element-desktop-git-1.7.25.r21.ge4c9444fe-1 (element-web-git element-desktop-git)
When I try to install I recieve the error:
error merging element-desktop-git: fatal: No current branch.
I had some issues building 1.7.27 but succeeded after adding the following to the prepare section
For anyone adopting this package: I did something very similar in my private fork and can confirm this works, so I'd suggest patching this until it's fixed upstream instead of setting nodejs<16
.
I have moved on from manjaro to NixOS, so I'm disowning this package again. Thank you for the recent comments.
I had some issues building 1.7.27 but succeeded after adding the following to the prepare section:
cd ../element-desktop
# Switch target to output to directory rather than .deb package
sed -i 's/"target": "deb"/"target": "dir"/g' package.json
sed -i 's@"https://packages.riot.im/desktop/update/"@null@g' element.io/release/config.json
+ sed -i '/seshat/s/"2.2.3"/"2.2.4"/' package.json
+ sed -i '/electron-builder/s/"22.10.5"/"22.11.4"/g' package.json
yarn install
see upstream reports:
As some npm dependencies are not yet compatible with NodeJS 16 you might wanna set the nodejs dependency to
nodejs<16
Pinned Comments