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: 254
Popularity: 0.53
First Submitted: 2018-04-18 16:33 (UTC)
Last Updated: 2023-10-03 20:50 (UTC)

Pinned Comments

Kaffka commented on 2022-03-28 11:43 (UTC) (edited on 2022-03-28 11:47 (UTC) by Kaffka)

Thank you so much for keeping this build updated.

I got a minor build issue. Its probably an upstream issue, but since people look here first, I'll post my workaround.

The error:

$ yay -Scc; yay -S joplin-desktop
[...]
➤ YN0009: │ @joplin/app-clipper@workspace:packages/app-clipper couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-81117b5e/build.log)
[...]

$ cat /tmp/xfs-81117b5e/build.log
[...]
Error: Cannot find module 'eslint-loader'
[...]

The Fix:

$ cd ~/.cache/yay/joplin/src/joplin-2.7.15/packages/app-clipper/
$ npm install --save-dev eslint-loader

$ cd ~/.cache/yay/joplin/
$ makepkg
$ sudo pacman -U joplin-desktop-2.7.15-4-x86_64.pkg.tar.zst

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

1 2 3 4 5 6 .. 52 Next › Last »

proledatarian commented on 2024-03-26 23:20 (UTC)

Please either update the package or accept the help offered by @cuihao.

cuihao commented on 2024-03-18 22:41 (UTC)

Hi masterkorp, thank you for maintaining the package so far. I'm the maintainer of the joplin(-desktop) packages in the archlinuxcn repo. I have been using my version of PKGBUILD that at least builds so far with the latest version.

What do you think of using it? If you don't mind, I can help maintain the AUR package.

letscho commented on 2024-02-17 18:09 (UTC)

After installing this package I get this message: Cannot find /usr/share/joplin/node_modules/joplin/app/

I tried both sudo corepack enable and npm cache clean --force, but it didn't help.

In the folder /usr/share/joplin there is only: package.json package.tgz README.md yarn.lock

jcruz commented on 2024-02-12 15:12 (UTC)

I followed the suggestion of running sudo corepack enable but I have the habit of uninstalling build dependencies after building, so yarn was uninstalled. After I enabled corepack, installing yarn was failing because yarn already existed. I had to disable corepack, install yarn explicitly (yuck), and reenable corepack. then the build worked.

If the project can only be built with corepack, can we get rid of the build dependency on yarn? otherwise, is there a way to get yarn 3.3.1 globally? why is version from pacman 1.x?

sergeimipt commented on 2024-01-07 14:22 (UTC)

I had the following error during joplin-desktop update:

  -> Installing package
{
  name: 'joplin',
  packageManager: 'yarn@3.3.1'
}
error This project's package.json defines "packageManager": "yarn@3.3.1". However the current global version of Yarn is 1.22.21.

Presence of the "packageManager" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19.
Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.

I successfully fixed the error by running:

$ sudo corepack enable

tomacrisan commented on 2024-01-06 15:30 (UTC) (edited on 2024-01-06 15:33 (UTC) by tomacrisan)

masterkorp: I've been using your PKGBUILD file to build the 2.13 series of releases by only changing pkgver= and updating sha256sums=. I just built version 2.13.13 today when I saw your comment.

At some point about a month ago, I ran: $ npm cache clean --force when I was experiencing build errors. Since then, I haven't had problems.

Unfortunately, while willing, I don't know what I can contribute to the conversation more than this; I appreciate your work in providing the build files.

masterkorp commented on 2023-12-23 17:50 (UTC)

Just for an update, I am having troubles upgrading the package to 2.13.10

https://discourse.joplinapp.org/t/cannot-build-for-arch-linux/34625

Any suggestions or ideas are welcome.

mixin commented on 2023-11-19 12:59 (UTC)

Hi, I've been able to reproduce by removing libvips and running joplin. libvips is set up as a "make dependency" in the PKGBUILD (so if you passed the optional -r to makepkg then it will remove it at the end of the build) but it looks like it's needed for joplin (while joplin-desktop starts up fine). So, for now, manually installing libvips should do (please tell if it's not the case). I'll create an issue in https://github.com/alfredopalhares/arch-pkgbuilds/issues to investigate/fix.

itsme commented on 2023-11-18 21:45 (UTC) (edited on 2023-11-18 21:46 (UTC) by itsme)

% joplin
/usr/share/joplin/node_modules/sharp/lib/sharp.js:37
  throw new Error(help.join('\n'));
  ^

Error: 
Something went wrong installing the "sharp" module

libvips-cpp.so.42: cannot open shared object file: No such file or directory

Possible solutions:
- Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
- Install for the current linux-x64 runtime: "npm install --platform=linux --arch=x64 sharp"
- Consult the installation documentation: https://sharp.pixelplumbing.com/install
    at Object.<anonymous> (/usr/share/joplin/node_modules/sharp/lib/sharp.js:37:9)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/usr/share/joplin/node_modules/sharp/lib/constructor.js:11:1)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)

Node.js v21.2.0