Error: sharp@0.18.4 install: 'node-gyp rebuild'
Search Criteria
Package Details: joplin-desktop 3.3.12-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/joplin.git (read-only, click to copy) |
---|---|
Package Base: | joplin |
Description: | A note taking and to-do application with synchronization capabilities - Desktop |
Upstream URL: | https://joplinapp.org/ |
Keywords: | markdown note notetaking productivity |
Licenses: | AGPL-3.0-or-later |
Groups: | joplin |
Submitter: | masterkorp |
Maintainer: | cuihao |
Last Packager: | cuihao |
Votes: | 272 |
Popularity: | 1.85 |
First Submitted: | 2018-04-18 16:33 (UTC) |
Last Updated: | 2025-05-29 14:51 (UTC) |
Dependencies (9)
- electron36 (electron36-binAUR)
- libvips (libvips-gitAUR, libvips-notiffAUR)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogenAUR, nodejs-lts-iron, nodejs-lts-jod)
- git (git-gitAUR, git-glAUR) (make)
- libxcrypt-compat (make)
- npm (python-nodejs-wheelAUR, corepackerAUR) (make)
- python-setuptools (make)
- rsync (rsync-gitAUR, rsync-reflink-gitAUR, rsync-reflinkAUR) (make)
- libappindicator-gtk3 (optional) – for tray icon
Required by (0)
Sources (3)
j1simon commented on 2018-07-03 10:45 (UTC)
felmey commented on 2018-06-17 16:32 (UTC) (edited on 2018-06-17 16:49 (UTC) by felmey)
The latest Firefox and Chrome Web Clipper extensions are only compatible with Joplin 1.0.99+ according to the developer: https://github.com/laurent22/joplin/issues/629#issuecomment-397888946
This patch for PKGBUILD will allow you to install Joplin 1.0.99 and restore the Web Clipper functionality:
diff --git a/PKGBUILD b/PKGBUILD
index 3a4af2c..e99f2eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# https://github.com/masterkorp/joplin-pkgbuild
pkgname=joplin
-pkgver=1.0.96
+pkgver=1.0.99
pkgrel=1
pkgdesc="Joplin - a note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS."
arch=("x86_64" "i686")
@@ -18,7 +18,7 @@ source=("${pkgname}.desktop" "joplin-desktop.sh" "joplin.sh"
sha256sums=("9ee4a831a0853ddbdc7279629d8f9238d3737b570898be16176ba0968b53d43d"
"5a3ace64906080adde5a5ea10ec9221fb2d94de770e6ee35b454aa30608b4097"
"5e3424162814db56718b01740af1ef7c9b30e00f563040456eeb8b7eaca81427"
- "8e8dfda2ddfdfc21ad808457265c19894e154193be44e4b3319984375e4af97a")
+ "514f2e9bba03c0ed342a7cdbffb5fc5b6a8a65097e9ef2b2c517cd60bed8cbf7")
build() {
felmey commented on 2018-06-15 07:18 (UTC)
@bossi - Thanks for the link. I ended up getting Joplin to work by installing NVM using it to install nodejs-lts-carbon. Anyone who wants to try it check out these two links: https://wiki.archlinux.org/index.php/Node.js_ https://github.com/creationix/nvm
Once I followed those links, I removed the nodejs-lts-carbon in the two places it is listed in the PKGBUILD and the package installed and runs fine now.
bossi commented on 2018-05-20 04:39 (UTC)
@felmey - Yes, Joplin's dependencies have moved from nodejs
to nodejs-lts-carbon
, due to an incompatibility with the latest nodejs-10
's sqlite libraries, it seems. This results in dependency conflicts if you have anything else installed that depends on nodejs
as the two nodejs-packages are mutually exclusive.
Have a look here for further details.
felmey commented on 2018-05-19 03:44 (UTC)
There seems to be a problem with nodejs and it wants to install nodejs-lts-carbon but that breaks other dependencies... Anyone else have this problem?
bossi commented on 2018-05-05 11:13 (UTC)
Awesome, thanks @masterkorp,
I see you're listing your github repo in the sources, was just about to suggest. I'll continue using that space instead to track issues; happy to contribute back if I get a chance.
Best Regards~
masterkorp commented on 2018-05-03 09:59 (UTC)
Hello @bossi,
Yes, the AUR repository, its just for the code. I do have another repository on github https://github.com/masterkorp/joplin-pkgbuild
You are more than welcome to open an issue there, or even contribute directly.
Regards, Alfredo Palhares
bossi commented on 2018-05-02 22:13 (UTC)
Hi @masterkorp,
Not a problem at all, thanks for posting back though! I wasn't sure if this is the right channel to discuss these more specific, code-related issues (was looking for something closer to the repository itself but there isn't?). I have picked up your patch since, works all well on my end - I figured you had either seen my post or noticed the issue yourself. Cheers!
masterkorp commented on 2018-05-02 10:12 (UTC)
Hello @bossi,
Firts of all, sorry for the delay on the response, somehow I did not get propely notifed.
Thank you for you patch, but by now the packages has been fixed. Can you confirm it does work for you?
bossi commented on 2018-04-21 05:41 (UTC) (edited on 2018-04-21 05:48 (UTC) by bossi)
Thanks for setting up this AUR, masterkorp.
I'm not sure if this is the conventional way to contribute suggestions, please redirect me if not.
I ran into an issue where the CLI client failed to load a locales/index.js
module (Error: Cannot find module '../locales/index.js'
- officially discussed here).
As suggested by the author, the following patch in the PKGBUILD
seems to fix the issue:
diff --git a/PKGBUILD b/PKGBUILD
index fa80d54..ad61b78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,6 +35,8 @@ build() {
"${srcdir}/${pkgname}-${pkgver}/CliClient/build/"
rsync -a --delete "${srcdir}/${pkgname}-${pkgver}/ReactNativeClient/lib/" \
"${srcdir}/${pkgname}-${pkgver}/CliClient/build/lib"
+ rsync -a --delete "${srcdir}/${pkgname}-${pkgver}/ReactNativeClient/locales/" \
+ "${srcdir}/${pkgname}-${pkgver}/CliClient/build/locales/"
cp "package.json" "${srcdir}/${pkgname}-${pkgver}/CliClient/build"
cp "package-lock.json" "${srcdir}/${pkgname}-${pkgver}/CliClient/build"
Cheers~
PS.: Big shout-out to the guys at the linux-mint podcast for spreading the word about Joplin!
Pinned Comments
cuihao commented on 2025-05-18 23:40 (UTC)
Thank you dosenpils and masterkorp for supporting the package.
I replaced the PKGBUILD with the version I wrote for the archlinuxcn repo. I will do my best to follow the latest nodejs and electron versions.
Please try to build in a clean chroot (i.e., with
extra-x86_64-build
fromdevtools
package) if you have problems building the package.dianqk commented on 2023-04-30 01:09 (UTC) (edited on 2023-12-02 03:26 (UTC) by dianqk)
If you want to use the fcitx input method under wayland, please complete the following configuration: