Joplin-desktop stopped working

Sentry: Initialized with autoUploadCrashDumps: false

Then nothing, any ideas? joplin-desktop 2.14.19-2 from ArchlinuxCN (aur package never builds for me) running Hyprland.

Would you be willing to try the Appimage (directly from their site) in the meantime?

Tried loads, some no error, some same error. Off to bed

I have the version 2.12.19 Appimage, and it works just fine here. Maybe you’re missing a dependency?

Downloading the latest to test it right now.

Edit: The latest version (2.14.19) works just fine for me as well. Do you have a DE or WM that uses X11 to test it there?

I have been using this one from the AUR for a long time now and it continues to work great for me.

aur/joplin-beta-appimage 2.14.19-1 [+4 ~0.57] [Installed: 2.14.16-1]
    The latest beta AppImage of Joplin - a cross-platform note taking and to-do app

Will not build for me.

To confirm, my suggestion is to use the actual Appimage from the website, not build it via the AUR. Have you tried this?

You’d need to have appimagelauncher installed: https://aur.archlinux.org/packages?O=0&K=appimagelauncher

No issues here. What is the error you are getting?

Hang on BRB:

➤ YN0000: tools/populateDatabase.ts
➤ YN0000: tsconfig.json
➤ YN0000: Package archive generated in /home/xircon/.cache/yay/joplin/src/joplin-2.12.18/packages/app-cli/package.tgz
➤ YN0000: Done in 0s 847ms
  -> 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.
==> ERROR: A failure occurred in package_joplin().
    Aborting...
 -> error making: joplin-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
joplin-desktop - exit status 4

So I run sudo corepack enable and cleanBuild again:

➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ sqlite3@npm:5.1.6 [2f5ff] must be built because it never has been before or the last one failed
➤ YN0007: │ keytar@npm:7.9.0 must be built because it never has been before or the last one failed
➤ YN0007: │ sharp@npm:0.32.3 must be built because it never has been before or the last one failed
➤ YN0009: │ sharp@npm:0.32.3 couldn't be built successfully (exit code 7, logs can be found here: /tmp/xfs-5654c5d1/build.log)
➤ YN0000: └ Completed in 10s 14ms
➤ YN0000: Failed with errors in 19s 702ms
==> ERROR: A failure occurred in package_joplin().
    Aborting...
 -> error making: joplin-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
joplin-desktop - exit status 4

log:

# This file contains the result of Yarn building a package (sharp@npm:0.32.3)
# Script name: install

sharp: Detected globally-installed libvips v8.15.1
sharp: Building from source via node-gyp
(node:83785) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
gyp info it worked if it ends with ok
gyp info using node-gyp@10.0.1
gyp info using node@21.7.0 | linux | x64
(node:83809) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:83809) ExperimentalWarning: Use `importAttributes` instead of `importAssertions`
(Use `node --trace-warnings ...` to show where the warning was created)
gyp info find Python using Python version 3.11.8 found at "/usr/bin/python3"

gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.yarn/unplugged/sharp-npm-0.32.3-accd89915c/node_modules/sharp/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/xircon/.cache/node-gyp/21.7.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/xircon/.cache/node-gyp/21.7.0',
gyp info spawn args '-Dnode_gyp_dir=/home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/xircon/.cache/node-gyp/21.7.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.yarn/unplugged/sharp-npm-0.32.3-accd89915c/node_modules/sharp',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.yarn/unplugged/sharp-npm-0.32.3-accd89915c/node_modules/sharp/build'
  CC(target) Release/obj.target/nothing/../../../node-addon-api-npm-6.1.0-634c545b39/node_modules/node-addon-api/nothing.o
rm -f Release/obj.target/../../../node-addon-api-npm-6.1.0-634c545b39/node_modules/node-addon-api/nothing.a Release/obj.target/../../../node-addon-api-npm-6.1.0-634c545b39/node_modules/node-addon-api/nothing.a.ar-file-list; mkdir -p `dirname Release/obj.target/../../../node-addon-api-npm-6.1.0-634c545b39/node_modules/node-addon-api/nothing.a`
ar crs Release/obj.target/../../../node-addon-api-npm-6.1.0-634c545b39/node_modules/node-addon-api/nothing.a @Release/obj.target/../../../node-addon-api-npm-6.1.0-634c545b39/node_modules/node-addon-api/nothing.a.ar-file-list
  COPY Release/nothing.a
  TOUCH Release/obj.target/libvips-cpp.stamp
  CXX(target) Release/obj.target/sharp-linux-x64/src/common.o
  CXX(target) Release/obj.target/sharp-linux-x64/src/metadata.o
  CXX(target) Release/obj.target/sharp-linux-x64/src/stats.o
  CXX(target) Release/obj.target/sharp-linux-x64/src/operations.o
  CXX(target) Release/obj.target/sharp-linux-x64/src/pipeline.o
  CXX(target) Release/obj.target/sharp-linux-x64/src/utilities.o
  CXX(target) Release/obj.target/sharp-linux-x64/src/sharp.o
  SOLINK_MODULE(target) Release/obj.target/sharp-linux-x64.node
  COPY Release/sharp-linux-x64.node
make: Leaving directory '/home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.yarn/unplugged/sharp-npm-0.32.3-accd89915c/node_modules/sharp/build'
gyp ERR! UNCAUGHT EXCEPTION 
gyp ERR! stack TypeError [ERR_INVALID_ARG_TYPE]: The "list[2]" argument must be an instance of Buffer or Uint8Array. Received type string ('python3')
gyp ERR! stack at Function.concat (node:buffer:587:13)
gyp ERR! stack at node:internal/fs/rimraf:144:32
gyp ERR! stack at Array.forEach (<anonymous>)
gyp ERR! stack at node:internal/fs/rimraf:143:5
gyp ERR! stack at /home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.pnp.cjs:13197:13
gyp ERR! System Linux 6.7.9-arch1-1
gyp ERR! command "/usr/bin/node" "/home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/xircon/.cache/yay/joplin/pkg/joplin/usr/share/joplin/.yarn/unplugged/sharp-npm-0.32.3-accd89915c/node_modules/sharp
gyp ERR! node -v v21.7.0
gyp ERR! node-gyp -v v10.0.1
gyp ERR! Node-gyp failed to build your package.
gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
1 Like

It doesn’t look like you installed the same package that the other commenter suggested. It shouldn’t be building anything. It should be downloading the appimage.

I said it didn’t build, he asked what the error was.

I may have got it wrong…

(1/1) installing joplin-beta-appimage                                                         [------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
➡ 21:02  🐧 .config/hypr/config took 1m 13.6s ➜  joplin-desktop 
Sentry: Initialized with autoUploadCrashDumps: false

Doesn’t run.

2 Likes