Update failed in Manjaro

Hello, I updated Joplin this afternoon via pakku but it failed. My OS is Manjaro Linux. I got the log but there are 19400 lines! Here is the end:
19436 error code ELIFECYCLE
19437 error errno 1
19438 error electron@4.1.4 postinstall: node install.js
19438 error Exit status 1
19439 error Failed at the electron@4.1.4 postinstall script.
19439 error This is probably not a problem with npm. There is likely additional logging output above.
19440 verbose exit [ 1, true ]

The AUR version of Joplin is maintained by a different dev and can be found here. Unless it’s really important to you to build Joplin yourself (with pakku) I recommend you stick to the precompiled appimage which you can easily install and update with:
wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash
I also use Manjaro (xfce) on 4 different machines all of which are running Joplin and I’ve never faced any problems using this method.

OK! Thank you very much, it works! I am surprised however that with this method, the password is not asked …

[edit]:
I wrote a very simple little script that I use via a launcher
Launcher command:

/home/username/SCRIPTS/maj-joplin.sh

Script maj-joplin.sh

#! /bin/bash
wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash
echo “Enter to exit…”
read a

Do not forget to modify the script’s permissions with a chmod 755

Joplin doesn’t need low level system access so it can indeed be installed without sudo.

OK Laurent. Merci