Package Base Details: joplin

Git Clone URL: https://aur.archlinux.org/joplin.git (read-only, click to copy)
Keywords: markdown note notetaking productivity
Submitter: masterkorp
Maintainer: masterkorp
Last Packager: masterkorp
Votes: 256
Popularity: 2.03
First Submitted: 2018-04-18 16:33 (UTC)
Last Updated: 2024-04-06 17:49 (UTC)

Pinned Comments

masterkorp commented on 2021-12-27 11:30 (UTC) (edited on 2021-12-27 11:32 (UTC) by masterkorp)

Hello everyone,

There was been several difficulties upgrading the Joplin due to major changes in the build system upstream.

I have finnally got version 2.6.10 working with pacthes, but remenber:

  • You may need to remove your src/ folder before using this version

  • The patches are still not perfect, you must say yes to a prompt

I will continue working on this later today, but its usable and stable, please remenber you can always report issues on the github repository.

Regards, Alfredo Palhares

masterkorp commented on 2020-12-24 19:58 (UTC) (edited on 2020-12-24 20:00 (UTC) by masterkorp)

Hello everyone,

I will be renaming the packages to its final form.

  • joplin will contain the CLI application
  • joplin-desktop will contain the Desktop version

Also, please for problems with the package, please open an issue on the Github repo, its really hard to provide support on the comments section, you can also email me.

If you have problems with the check() function, just run makepkg with the --nocheck flag.

Thank you for your patience. Regards, Alfredo Palhares

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 53 Next › Last »

menteith commented on 2023-04-14 22:09 (UTC)

For people with error:

==> Missing dependencies:
-> nodejs>=17.3

You need to install newer version of nodejs. I had nodejs-lts-gallium (v16) but newer version is required. This should probably be fixed in pkgbuild as it states that v16 is ok.

bobpaul commented on 2023-03-30 22:45 (UTC)

It looks like joplin needs openslide added to the dependencies. I'm getting this error:

node main.js

(process:2000255): VIPS-WARNING **: 18:43:33.251: unable to load "/usr/lib/vips-modules-8.14/vips-openslide.so" -- libopenslide.so.0: cannot open shared object file: No such file or directory

(process:2000255): GModule-CRITICAL **: 18:43:33.252: g_module_make_resident: assertion 'module != NULL' failed
Unhandled promise rejection Promise {
  <rejected> TypeError: Class extends value undefined is not a constructor or null
      at Object.<anonymous> (/home/paulk/.cache/yay/joplin/src/joplin-2.9.17/packages/app-cli/build/command-done.js:8:23)
      at Module._compile (node:internal/modules/cjs/loader:1254:14)
      at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
      at Module.load (node:internal/modules/cjs/loader:1117:32)
      at Module._load (node:internal/modules/cjs/loader:958:12)
      at Module.require (node:internal/modules/cjs/loader:1141:19)
      at require (node:internal/modules/cjs/helpers:110:18)
      at /home/paulk/.cache/yay/joplin/src/joplin-2.9.17/packages/app-cli/build/app.js:154:26
      at Array.forEach (<anonymous>)
      at Application.commands (/home/paulk/.cache/yay/joplin/src/joplin-2.9.17/packages/app-cli/build/app.js:148:30)
} reason: TypeError: Class extends value undefined is not a constructor or null
    at Object.<anonymous> (/home/paulk/.cache/yay/joplin/src/joplin-2.9.17/packages/app-cli/build/command-done.js:8:23)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at /home/paulk/.cache/yay/joplin/src/joplin-2.9.17/packages/app-cli/build/app.js:154:26
    at Array.forEach (<anonymous>)
    at Application.commands 

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.