If your installation fails in the 'prepare()' function with the error:
sharp@npm:0.33.5 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-a6b8e83e/build.log)
then you can fix this by editing the PKGBUILD file and adding 'yarn add node-gyp --dev' right before the 'yarn install' statement in your 'prepare()' function. This should fix the issue.
(@samuel-emrys, @CarloWood)
Pinned Comments
yochananmarqos commented on 2024-06-25 22:42 (UTC)
PSA: This package is now called
proton-mail
building from source. Please install that instead or if you prefer, the binary version is now available asproton-mail-bin
.