I don't know why, but with every update of vencord/vesktop I still have to edit manually the PKGBUILD file to add the line sed -i '/"packageManager":/d' package.json
in the prepare() function to avoid the pnpm 10.4.1 error
Search Criteria
Package Details: firefox-developer-edition-vencord 1.12.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/vencord.git (read-only, click to copy) |
---|---|
Package Base: | vencord |
Description: | The cutest Discord client mod |
Upstream URL: | https://vencord.dev |
Licenses: | GPL3 |
Submitter: | justbispo |
Maintainer: | justbispo |
Last Packager: | justbispo |
Votes: | 7 |
Popularity: | 3.54 |
First Submitted: | 2024-06-30 18:00 (UTC) |
Last Updated: | 2025-05-16 21:35 (UTC) |
Dependencies (3)
- firefox-developer-edition
- git (git-gitAUR, git-glAUR) (make)
- pnpm (yarn-pnpm-corepackAUR, corepackerAUR, pnpm-binAUR) (make)
Required by (0)
Sources (1)
dcarmal commented on 2025-05-17 19:00 (UTC) (edited on 2025-05-17 19:02 (UTC) by dcarmal)
justbispo commented on 2025-03-10 22:44 (UTC)
@apaulsen no idea what might be the issue in your case, I did the same steps as you (with both paru and yay) and it compiles correctly.
apaulsen commented on 2025-03-10 17:01 (UTC)
I am still seeing the same error that Ranguvar reported. I deleted the cache folder and I tried the steps that dcarmal suggested (using yay --editmenu -S vencord) and still have the error. My pnpm is version 10.6.2-1.
Zenith commented on 2025-03-10 07:24 (UTC)
@dcarmal Thank you very much for sharing. The issue is fixed now, @Ranguvar
justbispo commented on 2025-03-09 20:18 (UTC)
I've tried to build again and it seems the issue isn't happening anymore, thanks to pnpm's v10.6.0 including a fix.
dcarmal commented on 2025-03-09 19:42 (UTC) (edited on 2025-03-09 19:43 (UTC) by dcarmal)
@Zenith @Ranguvar
In case someone else is having issues with pnpm and node versions, here's my workaround:
first, stablish node.js version with
pnpm env --global use 18.16.0
then, add this line to "prepare()" function in PKGBUILD:
sed -i '/"packageManager":/d' package.json
so it ends up looking like this:
prepare() {
cd "$srcdir"/$_pkgname
sed -i '/"packageManager":/d' package.json
pnpm install --frozen-lockfile
}
Zenith commented on 2025-03-04 10:13 (UTC)
Having the same issue as @Ranguvar
justbispo commented on 2025-03-01 00:13 (UTC) (edited on 2025-03-01 00:13 (UTC) by justbispo)
@Ranguvar initially I did get an error when trying to install, not sure if it was the one shown to you. I've removed the directory that had the clone of the repository and tried to update again and the error stopped showing, but another error appeared. It's the same error as this person, also trying to build Vencord, encountered here.
I've only seen that issue after I've successfully installed the update, using yarn-pnpm-corepack instead. Someone wrote a temporary workaround in that issue, so that might work too.
Pinned Comments
justbispo commented on 2024-07-11 16:56 (UTC) (edited on 2025-03-10 22:51 (UTC) by justbispo)
To use custom plugins, customizepkg can be used. In the Github's page, read the "Usage" section and then add and edit the following line (one line per plugin):
addline#prepare#lockfile# git clone PLUGIN_REPO_URL "$srcdir"/$_pkgname/src/userplugins/PLUGIN_NAME
It'll clone the plugins into the right directory and build Vencord including them.
EDIT: Depending on which plugins you're cloning, you might need to prevent the AUR helper from running the
check()
function, or else the testing phase will fail and prevent from installing it:With paru:
paru -S --nocheck vencord
With yay:
yay -S vencord --mflags "--nocheck"