Package Details: joplin-desktop 3.3.12-1

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.70
First Submitted: 2018-04-18 16:33 (UTC)
Last Updated: 2025-05-29 14:51 (UTC)

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 from devtools 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:

cat .config/electron25-flags.conf 
--enable-wayland-ime
--ozone-platform=wayland

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 60 Next › Last »

Pippip19 commented on 2023-02-27 10:21 (UTC) (edited on 2023-03-10 09:13 (UTC) by Pippip19)

I receive the following build error:

⨯ Get "https://github.com/electron/electron/releases/download/v19.0.10/electron- v19.0.10-linux-x64.zip": dial tcp: lookup github.com on [::1]:53: read udp [::1]:52216->[::1]:53: read: connection refused

EDIT: This was an issue with my DNS configuration (systemd-resolved); following the steps under 2.1 DNS allowed me to complete the build. However I am now experiencing the same issue as @Gabscap.

Gabscap commented on 2023-02-14 14:46 (UTC)

joplin help generates the following error Class extends value undefined is not a constructor or null. If I enter a random command in joplin itself, it crashes with:

Unhandled promise rejection Promise {
  <rejected> TypeError: Class extends value undefined is not a constructor or null
      at Object.<anonymous> (/usr/share/joplin/node_modules/joplin/app/command-done.js:8:23)
      at Module._compile (node:internal/modules/cjs/loader:1246:14)
      at Module._extensions..js (node:internal/modules/cjs/loader:1300:10)
      at Module.load (node:internal/modules/cjs/loader:1103:32)
      at Module._load (node:internal/modules/cjs/loader:942:12)
      at Module.require (node:internal/modules/cjs/loader:1127:19)
      at require (node:internal/modules/helpers:112:18)
      at /usr/share/joplin/node_modules/joplin/app/app.js:154:26
      at Array.forEach (<anonymous>)
      at Application.commands (/usr/share/joplin/node_modules/joplin/app/app.js:148:30)
} reason: TypeError: Class extends value undefined is not a constructor or null
    at Object.<anonymous> (/usr/share/joplin/node_modules/joplin/app/command-done.js:8:23)
    at Module._compile (node:internal/modules/cjs/loader:1246:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1300:10)
    at Module.load (node:internal/modules/cjs/loader:1103:32)
    at Module._load (node:internal/modules/cjs/loader:942:12)
    at Module.require (node:internal/modules/cjs/loader:1127:19)
    at require (node:internal/modules/helpers:112:18)
    at /usr/share/joplin/node_modules/joplin/app/app.js:154:26
    at Array.forEach (<anonymous>)
    at Application.commands (/usr/share/joplin/node_modules/joplin/app/app.js:148:30)

sergeimipt commented on 2023-01-20 18:04 (UTC) (edited on 2023-01-20 18:14 (UTC) by sergeimipt)

I also sucessfully installed joplin-desktop 2.8.8-2 today with the following commands as suggested by jostino below without any modifications of the installation files:

# npm install -g n
# n 16
$ yay -S joplin-desktop

tomacrisan commented on 2022-12-19 16:21 (UTC) (edited on 2022-12-25 17:33 (UTC) by tomacrisan)

With help from the other comments here, there is how I was able to build Joplin 2.9.7 (released version) and Joplin 2.10.2 (pre-released version) using the the 2.8.8 Joplin yay setup.

The PKGBUILD file can be found in ~/.cache/yay/joplin

Edit the PKGBUILD file to change:

pkgver=2.9.17 or pkgver=2.10.2   
pkgrel=1   
makedepends=('git' 'npm' 'yarn' 'python' 'rsync' 'jq' 'yq' 'electron' 'libgsf' 'node-gyp>=8.4.1' 'libvips')

The last line is simply to change the makedepends from 'python2' to 'python'

After saving the file, run:

# npm install -g n
# n 16

Then run:

$ updpkgsums
$ makepkg --install

mixin commented on 2022-12-17 15:19 (UTC) (edited on 2022-12-20 08:47 (UTC) by mixin)

Hi, I've just created this issue that contains a PR to update to the new Joplin version 2.9.17 and fix that build issue that is present in version 2.8.8 as well. Until it get merged, you can test it as per usual manual process:

  1. go to your AUR dir (or any other dir)
  2. git clone git@github.com:mixin82/arch-pkgbuilds.git (otherwise extract https://github.com/mixin82/arch-pkgbuilds/archive/refs/heads/master.zip)
  3. cd arch-pkgbuilds/joplin
  4. sudo pacman -S --needed base-devel
  5. makepkg -sic

jostino commented on 2022-12-16 07:49 (UTC)

I had an issue building sqlite3. I solved thanks to this https://github.com/laurent22/joplin/issues/6966. Basically I've done:

npm install -g n
n 16

And then I just installed from yay.

petaramesh commented on 2022-12-14 09:59 (UTC)

Hello,

Joplin currently doesn't compile. It fails with some : node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v111-linux-x64.tar.gz

Then fails building sqlite3.

Plus, why does it need python2 which is completely obsolete ?

Kind regards.

gnaggnoyil commented on 2022-12-07 16:44 (UTC)

Can confirm the error mentioned by @mixin happens to me too.

xstefen commented on 2022-11-10 10:53 (UTC)

The python2 dependency which is a problem with node-gyp can be avoided. I'm not sure how to correct this via PKGBUILD though. Using nvm to install/use lts/dubnium (nodejs 10), joplin-desktop then builds without error and without python2.

mixin commented on 2022-10-24 20:00 (UTC) (edited on 2022-12-06 20:56 (UTC) by mixin)

Hi, please update PKGBUILD to use python since python2 has been recently removed from repository. After that, the build currently fails because of issue https://github.com/laurent22/joplin/issues/6966. After applying https://github.com/nodejs/nan/pull/943/files to src/joplin-2.8.8/packages/server/node_modules/nan I've been able to build it. By checking out the "dev" branch of the upstream repo the problem seems to have been resolved already. Just need to wait for an official release I guess.