[ERROR] This project is configured to use 11.2.2+sha512.36e6621fad506178936455e70247b8808ef4ec25797a9f437a93281a020484e2607f6a469a22e982987c3dbb8866e3071514ab10a4a1749e06edcd1ec118436f of pnpm. Your current pnpm is v11.3.0
If you want to bypass this version check, you can set the "pmOnFail" configuration to "warn" or "ignore" (e.g. via --pm-on-fail=ignore). If using "devEngines.packageManager", you can set its "onFail" to "warn" or "ignore"
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: element-desktop-git-exit status 4
-> nothing to install for element-desktop-git
-> Failed to install the following packages. Manual intervention is required:
element-desktop-git - exit status 4
Search Criteria
Package Details: element-web-git 1.12.18.r139.g1ffbe66d72-1
Package Actions
| 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 — web version. |
| Upstream URL: | https://github.com/element-hq/element-web |
| Licenses: | Apache-2.0 |
| Conflicts: | element-web |
| Provides: | element-web |
| Submitter: | idanoo |
| Maintainer: | Xangelix |
| Last Packager: | Xangelix |
| Votes: | 16 |
| Popularity: | 0.145476 |
| First Submitted: | 2020-07-18 02:27 (UTC) |
| Last Updated: | 2026-05-25 04:19 (UTC) |
Dependencies (11)
- electron (electron-launcherAUR, electron-nightly-binAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- libxcrypt-compat (make)
- nodejs (nodejs-gitAUR, nodejs-lts-hydrogenAUR, python-nodejs-wheelAUR, nodejs-lts-iron, nodejs-lts-jod, nodejs-lts-krypton) (make)
- npm (npm-corepackAUR, python-nodejs-wheelAUR) (make)
- pnpm (pnpm-corepackAUR, pnpm-binAUR) (make)
- python (make)
- python-setuptools (make)
- rust (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rustup) (make)
- sqlcipher (make)
- tcl (tcl-fossilAUR, tcl84AUR, tcl84AUR) (make)
Required by (1)
Sources (3)
atvknox commented on 2026-06-04 02:23 (UTC) (edited on 2026-06-04 02:25 (UTC) by atvknox)
northernlights commented on 2026-05-06 17:47 (UTC)
Build ends with:
NX Successfully ran target build for project element-web and 4 tasks it depends on (1m)
ERR_PNPM_NO_SCRIPT Missing script: build:ts
Command "build:ts" not found. Did you mean "pnpm run build:32"?
==> ERROR: A failure occurred in build().
Aborting...
-> error making: element-desktop-git-exit status 4
-> nothing to install for element-desktop-git
Bilskirnir3124 commented on 2026-03-02 06:03 (UTC) (edited on 2026-03-02 06:05 (UTC) by Bilskirnir3124)
Package fails to build. Output follows.
==> Making package: element-desktop-git 1.12.2.r43.gd6e50598cd-1 (Mon 02 Mar 2026 12:55:09 AM EST)
==> Retrieving sources...
-> Updating element-web git repo...
-> Updating element-desktop git repo...
-> Found io.element.Element.desktop
-> Found element-desktop.sh
==> Validating source files with sha512sums...
element-web ... Skipped
element-desktop ... Skipped
io.element.Element.desktop ... Passed
element-desktop.sh ... Passed
==> Making package: element-desktop-git 1.12.2.r43.gd6e50598cd-1 (Mon 02 Mar 2026 12:55:11 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating element-web git repo...
-> Updating element-desktop git repo...
-> Found io.element.Element.desktop
-> Found element-desktop.sh
==> Validating source files with sha512sums...
element-web ... Skipped
element-desktop ... Skipped
io.element.Element.desktop ... Passed
element-desktop.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of element-web git repo...
Cloning into 'element-web'...
done.
-> Creating working copy of element-desktop git repo...
Cloning into 'element-desktop'...
done.
==> Starting prepare()...
error This project's package.json defines "packageManager": "yarn@pnpm@10.29.3". However the current global version of Yarn is 1.22.22.
Presence of the "packageManager" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19.
Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'element-desktop-git-1.12.2.r43.gd6e50598cd-1 (element-web-git element-desktop-git)':
error: packages failed to build: element-desktop-git-1.12.2.r43.gd6e50598cd-1 (element-web-git element-desktop-git)
It seems to me that there is some mismatch in the Yarn or pnpm versioning.
zerojay commented on 2026-02-26 21:05 (UTC)
Package seems broken:
==> Starting prepare()... error This project's package.json defines "packageManager": "yarn@pnpm@10.29.3". However the current global version of Yarn is 1.22.22.
Presence of the "packageManager" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19. Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack. ==> ERROR: A failure occurred in prepare(). Aborting... error: failed to build 'element-desktop-git-1.12.2.r43.gd6e50598cd-1 (element-web-git element-desktop-git)': error: packages failed to build: element-desktop-git-1.12.2.r43.gd6e50598cd-1 (element-web-git element-desktop-git)
genji commented on 2025-09-24 04:00 (UTC)
Can't install via yay for me personally, fails after like 15+ minutes of working and compiling. Log output: https://pastebin.com/H8eYSbuG
terrorwolf commented on 2025-07-03 20:05 (UTC)
Are there any Plans to add the experimental search components to be able to use the search in Encrypted rooms/chats? https://github.com/element-hq/element-desktop/blob/develop/docs/native-node-modules.md#adding-seshat-for-search-in-e2e-encrypted-rooms
zwastik commented on 2025-06-16 02:42 (UTC)
yarn run v1.22.22
$ yarn run build:ts && yarn run build:res && electron-builder
$ tsc
$ tsx scripts/copy-res.ts
• electron-builder version=26.0.16 os=6.15.2-arch1-1
• artifacts will be published if draft release exists reason=CI detected
• loaded configuration file=/home/iud5/.cache/yay/element-desktop-git/src/element-desktop/electron-builder.ts
• writing effective config file=dist/builder-effective-config.yaml
• executing @electron/rebuild electronVersion=36.4.0 arch=x64 buildFromSource=false appDir=./
• installing native dependencies arch=x64
• preparing moduleName=keytar-forked arch=x64
• finished moduleName=keytar-forked arch=x64
• completed installing native dependencies
• packaging platform=linux arch=x64 electron=36.4.0 appOutDir=dist/linux-unpacked
(node:205091) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)
• executing @electron/fuses electronPath=dist/linux-unpacked/element-desktop
• building target=tar.gz arch=x64 file=dist/element-desktop-1.11.103.tar.gz
• building target=deb arch=x64 file=dist/element-desktop_1.11.103_amd64.deb
• adding autoupdate files for: deb. (Beta feature) resourceDir=dist/linux-unpacked/resources
⨯ GitHub Personal Access Token is not set, neither programmatically, nor using env "GH_TOKEN"
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...
-> error making: element-desktop-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
element-web-git - exit status 4
element-desktop-git - exit status 4
dreieck commented on 2025-02-10 14:57 (UTC)
With nodejs version 23 this crashes with Segmentation Fault.
Latest working nodejs version seems to be 22, lowest 20.
You need to adapt the build script to use explicit version.
(This also should be done for electron, by the way.)
See e.g. the PKGBUILD of schildichat-desktop-git on how to implement versioned nodejs and electron in the build script.
Regards and thanks for the package!
ciara commented on 2024-07-20 00:53 (UTC)
Hey I'm noticing the latest builds seem to fail, reporting a missing "rimraf" command. It appears to be a node module that i guess isn't getting bundled or upstream forgot to bundle it.
yarn run v1.22.22 $ yarn clean && yarn build:genfiles && yarn build:bundle $ rimraf lib webapp /bin/sh: line 1: rimraf: command not found error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'element-desktop-git-1.11.39.r16.g65f7545ba5-2 (element-web-git element-desktop-git)': error: packages failed to build: element-desktop-git-1.11.39.r16.g65f7545ba5-2 (element-web-git element-desktop-git)
Pinned Comments