Giter Club home page Giter Club logo

arch-pkgbuilds's Introduction

Archlinux PKGBUILDS

This is my collection fo Arch Linux PKGBUILDs, some these packages are also in the AUR

Updating

Update pkgver in PKGBUILD to the latest Joplin release version.

Generate new checksums using updpkgsums from the pacman-contrib package.

updpkgsums

Publishing

This uses aurpublish

Contributing

Please Open a Pull Request or an Issue :)

Packages

Joplin

This contains the PKGBUILD and other build tools to package Joplin

This package contains both the desktop and cli client

Excalidraw Desktop

A electron wrapper over the Exaclidraw tool.

GOF5

An Open Source F5 VPN Client GoF5

Installing

You can use an AUR wrapper like yay:

yay -S joplin

Check the current AUR version here.

Building

Build with makepkg

makepkg -fc

Check more information on the Archwiki

Maintainer

Alfredo Palhares

arch-pkgbuilds's People

Contributors

alfredopalhares avatar b0ssi avatar gardar avatar grandchild avatar javsanpar avatar jnishwanth avatar koug44 avatar marcushill avatar miroesli avatar mixin82 avatar sailreal avatar scriptdevil avatar slokhorst avatar texhnolyze avatar xuhcc avatar yochananmarqos avatar zebdo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

arch-pkgbuilds's Issues

Missing Dependency "jq"

With yay -Syu:

:: (1/1) Parsing SRCINFO: joplin (joplin joplin-desktop)
==> Making package: joplin 1.5.12-1 (Tue 29 Dec 2020 05:
==> Retrieving sources...
  -> Found joplin.desktop
  -> Found joplin-desktop.sh
  -> Found joplin.sh
  -> Found joplin-1.5.12.tar.gz
==> Validating source files with sha256sums...
    joplin.desktop ... Passed
    joplin-desktop.sh ... Passed
    joplin.sh ... Passed
    joplin-1.5.12.tar.gz ... Passed
==> Making package: joplin 1.5.12-1 (Tue 29 Dec 2020 05:
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found joplin.desktop
  -> Found joplin-desktop.sh
  -> Found joplin.sh
  -> Found joplin-1.5.12.tar.gz
==> Validating source files with sha256sums...
    joplin.desktop ... Passed
    joplin-desktop.sh ... Passed
    joplin.sh ... Passed
    joplin-1.5.12.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting joplin-1.5.12.tar.gz with bsdtar
==> Starting prepare()...
  -> npm cache directory: /home/nico/.cache/yay/joplin/s
  -> Disabling husky (git hooks)
  -> Tweaking lerna.json
/home/nico/.cache/yay/joplin/PKGBUILD: line 56: jq: comm
==> ERROR: A failure occurred in prepare().
    Aborting...
error making: joplin (joplin joplin-desktop)

Incorrect joplin.desktop sha256sum

When I try to install joplin, the joplin.desktop file fails on the latest version.

==> Validating source files with sha256sums...
    joplin.desktop ... FAILED
    joplin-desktop.sh ... Passed
    joplin.sh ... Passed
    v1.0.125.zip ... Passed
==> ERROR: One or more files did not pass the validity check!

Spell checker

Thank you for maintaining this package.

I am running 2 different installs of Manjaro with Kernal Version 5.10.18-1-MAJARO and KDE Plasma Version: 5.21.1. with Joplin package 1.7.11-2 from the Manjaro repo.

I have an issue on both machines where the spell checker contextual menu only works in the title of a note, but not in the body of the note. I do not have issues with contextual spell checkers in any other application on either machine.

I have searched extensively and have found no other reported issues of this. However, it occurs on both my installs.

Any help appreciated. Cheers.

Request separation of terminal version

Hello,
Can I request a separate terminal version?
Because the desktop version requires a lot of additional dependencies, The desktop is not needed in some environments.

Missing dependency gulp

There is a dependency missing for gulp during build for my installation.

I see that in your github workflow there is no gulp installed manually. Nevertheless, I was not able to install the package recently. You might want to have a closer look.

Remove 7za Binaries

During the build there are some uneeded binares like 7za arm mode:

strip: Unable to recognise the format of the input file `./usr/share/joplin/resources/app.asar.unpacked/node_modules/7zip-bin-linux/arm64/7za'
strip: Unable to recognise the format of the input file `./usr/share/joplin/resources/app.asar.unpacked/node_modules/7zip-bin-linux/arm/7za'

Investigate what should be removed.

joplin has missing dependency libgsf

When trying to install joplin via yay, it complains that there is a missing dependency libgsf:

➜ yay -S joplin
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  joplin-1.5.14-1

:: Downloaded PKGBUILD (1/1): joplin
  1 joplin                                   (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: joplin
==> Making package: joplin 1.5.14-1 (Sun 17 Jan 2021 08:54:03 AM MST)
==> Retrieving sources...
  -> Found joplin.desktop
  -> Found joplin-desktop.sh
  -> Found joplin.sh
  -> Downloading joplin-1.5.14.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   125  100   125    0     0    456      0 --:--:-- --:--:-- --:--:--   454
100 50.3M    0 50.3M    0     0  10.7M      0 --:--:--  0:00:04 --:--:-- 12.5M
==> Validating source files with sha256sums...
    joplin.desktop ... Passed
    joplin-desktop.sh ... Passed
    joplin.sh ... Passed
    joplin-1.5.14.tar.gz ... Passed
==> Making package: joplin 1.5.14-1 (Sun 17 Jan 2021 08:54:10 AM MST)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> libgsf
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
error making: joplin

Note that this dependency is correctly resolved with joplin-desktop:

➜ yay -S joplin-desktop
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo:1]  libgsf-1.14.47-1
[Aur:1]  joplin-1.5.14-1 (joplin-desktop)
[cut for space]

can't open joplin-cli on Ubuntu 20.04.1: "... /libm.so.6: version `GLIBC_2.29' not found"

any tips would be appreciated. Here's the full error message:

me@home:-$ joplin
internal/modules/cjs/loader.js:1122
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /snap/core/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/mani/.joplin-bin/lib/node_modules/joplin/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/home/mani/.joplin-bin/lib/node_modules/joplin/node_modules/sqlite3/lib/sqlite3-binding.js:4:15)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)

... and I appear to have the latest version (2.31) installed:

me@home:-$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.1) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Compile error for 1.7.11-2

Not sure where the exact source of the complie problem is, maybe:

npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack   File "<string>", line 1
npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack                       ^
npm ERR! gyp ERR! stack SyntaxError: invalid syntax

Here is the full output of makepkg -si

=> Making package: joplin 1.7.11-2 (Thu 04 Mar 2021 09:59:01 AM -05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found joplin.desktop
  -> Found joplin-desktop.sh
  -> Found joplin.sh
  -> Found joplin-1.7.11.tar.gz
==> Validating source files with sha256sums...
    joplin.desktop ... Passed
    joplin-desktop.sh ... Passed
    joplin.sh ... Passed
    joplin-1.7.11.tar.gz ... Passed
==> Extracting sources...
  -> Extracting joplin-1.7.11.tar.gz with bsdtar
==> Starting prepare()...
  -> npm cache directory: /home/giulio/builds/joplin/src/npm-cache
  -> Disabling husky (git hooks)
  -> Tweaking lerna.json
==> Removing existing $pkgdir/ directory...
==> Starting build()...
  -> npm cache directory: /home/giulio/builds/joplin/src/npm-cache
  -> Installing dependencies through Lerna

> postinstall
> npm run bootstrap --no-ci && npm run build


> bootstrap
> lerna bootstrap --no-ci

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 9 packages
lerna info Installing external dependencies
lerna ERR! npm install --cache /home/giulio/builds/joplin/src/npm-cache exited 1 in '@joplin/tools'
lerna ERR! npm install --cache /home/giulio/builds/joplin/src/npm-cache stderr:
npm ERR! code 1
npm ERR! path /home/giulio/builds/joplin/src/joplin-1.7.11/packages/tools/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
npm ERR! info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.1/libvips-8.9.1-linux-x64.tar.gz
npm ERR! ERR! sharp read ECONNRESET
npm ERR! info sharp Attempting to build from source via node-gyp but this may fail due to the above error
npm ERR! info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp ERR! configure error 
npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack   File "<string>", line 1
npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack                       ^
npm ERR! gyp ERR! stack SyntaxError: invalid syntax
npm ERR! gyp ERR! stack 
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:326:12)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:378:20)
npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1067:16)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! gyp ERR! System Linux 5.11.2-arch1-1
npm ERR! gyp ERR! command "/usr/bin/node" "/home/giulio/builds/joplin/src/joplin-1.7.11/packages/tools/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/giulio/builds/joplin/src/joplin-1.7.11/packages/tools/node_modules/sharp
npm ERR! gyp ERR! node -v v15.11.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/giulio/builds/joplin/src/npm-cache/_logs/2021-03-04T15_00_19_247Z-debug.log

lerna ERR! npm install --cache /home/giulio/builds/joplin/src/npm-cache exited 1 in '@joplin/tools'
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.
npm ERR! code 1
npm ERR! path /home/giulio/builds/joplin/src/joplin-1.7.11
npm ERR! command failed
npm ERR! command sh -c npm run bootstrap --no-ci && npm run build

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/giulio/builds/joplin/src/npm-cache/_logs/2021-03-04T15_00_19_335Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...

If there is nay additional information that can help, please let me know.
Thanks.

Pamac/yay build fails

Same as #34

Building joplin...
==> Making package: joplin 1.0.175-1 (pon, 9 gru 2019, 16:54:45)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found joplin.desktop
  -> Found joplin-desktop.sh
  -> Found joplin.sh
  -> Downloading v1.0.175.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   123    0   123    0     0    262      0 --:--:-- --:--:-- --:--:--   262
100 22.2M  100 22.2M    0     0  1490k      0  0:00:15  0:00:15 --:--:-- 1607k
==> Validating source files with sha256sums...
    joplin.desktop ... FAILED
    joplin-desktop.sh ... Passed
    joplin.sh ... Passed
    v1.0.175.zip ... Passed
==> ERROR: One or more files did not pass the validity check!

Changing checksum to v1.0.174 causes joplin.desktop to pass, but the zip file fails

build broken

18648 verbose stack Error: [email protected] install: `node-pre-gyp install --fallback-to-build`
18648 verbose stack Exit status 1
18648 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
18648 verbose stack     at EventEmitter.emit (events.js:182:13)
18648 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
18648 verbose stack     at ChildProcess.emit (events.js:182:13)
18648 verbose stack     at maybeClose (internal/child_process.js:970:16)
18648 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)
18649 verbose pkgid [email protected]

1.0.233 fails to launch cli interface; missing 'immer' package

The GUI works well, but trying to launch the cli interface gives this error:

internal/modules/cjs/loader.js:1033
  throw err;
  ^

Error: Cannot find module 'immer'
Require stack:
- /usr/share/joplin-cli/lib/services/ResourceEditWatcher/reducer.js
- /usr/share/joplin-cli/lib/reducer.js
- /usr/share/joplin-cli/lib/BaseApplication.js
- /usr/share/joplin-cli/app.js
- /usr/share/joplin-cli/main.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1030:15)
    at Function.Module._load (internal/modules/cjs/loader.js:899:27)
    at Module.require (internal/modules/cjs/loader.js:1090:19)
    at require (internal/modules/cjs/helpers.js:75:18)
    at Object.<anonymous> (/usr/share/joplin-cli/lib/services/ResourceEditWatcher/reducer.js:3:17)
    at Module._compile (internal/modules/cjs/loader.js:1201:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
    at Module.load (internal/modules/cjs/loader.js:1050:32)
    at Function.Module._load (internal/modules/cjs/loader.js:938:14)
    at Module.require (internal/modules/cjs/loader.js:1090:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/share/joplin-cli/lib/services/ResourceEditWatcher/reducer.js',
    '/usr/share/joplin-cli/lib/reducer.js',
    '/usr/share/joplin-cli/lib/BaseApplication.js',
    '/usr/share/joplin-cli/app.js',
    '/usr/share/joplin-cli/main.js'
  ]
}

Did immer get left out of the build?

Error on building

running on arch, using pacaur. I get this error

npm ERR! Failed at the [email protected] postinstall script 'node compile-jsx.js && node compile-package-info.js && node ../../Tools/copycss.js --copy-fonts'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Joplin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node compile-jsx.js && node compile-package-info.js && node ../../Tools/copycss.js --copy-fonts
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs Joplin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls Joplin
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/nhumrich/.cache/pacaur/joplin/src/joplin-1.0.85/ElectronClient/app/npm-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
:: failed to build joplin package(s)

Looking further up, it looks like it might be this step:

Compiling /home/nhumrich/.cache/pacaur/joplin/src/joplin-1.0.85/ElectronClient/app/gui/ToolbarButton.jsx...
/home/nhumrich/.cache/pacaur/joplin/src/joplin-1.0.85/ElectronClient/app/compile-package-info.js:8
let removeKeys = ['scripts', 'devDependencies', 'optionalDependencies', 'dependencies'];
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:148:18)
    at node.js:405:3

The pkgbuild says node-lts-carbon is a dependency (8.11), but for some reason, its using node 5.11?

Cannot install Joplin 1.5.14, failed at the root@ postinstall script

Installing with yay for v1.5.14 produces the following error:

==> Starting build()...
  -> npm cache directory: /home/gokul/.cache/yay/joplin/src/npm-cache
  -> Installing dependencies through Lerna

> root@ postinstall /home/gokul/.cache/yay/joplin/src/joplin-1.5.14
> lerna bootstrap --no-ci && npm run tsc

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 9 packages
lerna info Installing external dependencies
lerna ERR! npm install --cache /home/gokul/.cache/yay/joplin/src/npm-cache exited 1 in '@joplin/lib'
lerna ERR! npm install --cache /home/gokul/.cache/yay/joplin/src/npm-cache stderr:
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/gokul/.cache/yay/joplin/src/npm-cache/_logs/2021-01-02T10_35_40_420Z-debug.log

lerna ERR! npm install --cache /home/gokul/.cache/yay/joplin/src/npm-cache exited 1 in '@joplin/lib'
lerna WARN complete Waiting for 7 child processes to exit. CTRL-C to exit immediately.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! root@ postinstall: `lerna bootstrap --no-ci && npm run tsc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the root@ postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/gokul/.cache/yay/joplin/src/npm-cache/_logs/2021-01-02T10_35_40_576Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
error making: joplin

sqlite3 fails to build

I have done some reading and I know that sqlite3 didn't support nodejs 10 until 4+ and that was supposed to be fixed in joplin but it appears somewhere in this build process something is attempting to get sqlite3 3.1.13. I will include a log file.
log.txt

Terminal joplin client not working

Using your pkgbuild file.

dalexandre@Ohara cisco]$ joplin
internal/modules/cjs/loader.js:550
    throw err;
    ^

Error: Cannot find module '../locales/index.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
    at Function.Module._load (internal/modules/cjs/loader.js:475:25)
    at Module.require (internal/modules/cjs/loader.js:598:17)
    at require (internal/modules/cjs/helpers.js:11:18)
    at supportedLocales (/usr/share/joplin-cli/lib/locale.js:191:46)
    at closestSupportedLocale (/usr/share/joplin-cli/lib/locale.js:212:18)
    at localeStrings (/usr/share/joplin-cli/lib/locale.js:275:17)
    at _ (/usr/share/joplin-cli/lib/locale.js:294:16)
    at Function.label (/usr/share/joplin-cli/lib/SyncTargetFilesystem.js:19:10)
    at Function.addClass (/usr/share/joplin-cli/lib/SyncTargetRegistry.js:13:27)

I don't know if it's an install issue or a upstream one

Joplin PKGBUILD improvements and clarifications

Hi,
I'm a new user of Joplin (which I never really used) and I ended up here after trying to install it on Archlinux. I looked at your pkgbuild and your recent commits but I can't figure out what are you trying to do with it. I'm not a npm or joplin expert, but I'm used to pkgbuild scripts so I thought to share some of my opinions/questions hoping they might be helpful. I don't want to criticize your work, but just add some notes.


Your way of splitting joplin-* packages bugs me. If I got it right, Joplin comes in two version, joplin-cli and joplin-desktop; you build both of them separately, but after that you still build a generic joplin package which is their union. Why? If someone wants both cli and desktop version, just let him install the two versions manually.
Moreover, why you are rebuilding joplin-desktop-electron if it's deprecated? Just drop it, or add a dependency to joplin-desktop (which I assume is the newer package/version) and use a conflicts/replaces entry to ensure users will install the right package.
Also, remove the joplin.install file, or use it for only the generic joplin package or joplin-desktop-electron package which (I'm assuming) should be informed of the newer packages joplin-cli and joplin-desktop.


I don't understand if you are building all the packages in the build() function (like it should be) or if you are postponing some operations to the package_* functions. Please remember that the check() function runs after build() and before the various package_* functions. Is this what you want? Other people in the comments are complaining about the check() function, since it doesn't work: even if check() fails, the actual packages are working.
I know nothing about npm so maybe you're right here.


Another thing: the cli package is a lot bigger than the desktop version, why? Is that normal? I tried to install (locally) the cli version following Joplin documentation, and the resulting directory is much more smaller.


I really don't get where you found the dependencies list; some packages makes sense, but others... no. For example, why electron is a global dependency? Is it really necessary for the cli package? Keep in mind that a global dependency is implicitly a make-dependency.


I hope I didn't bother you with my comments, thanks anyway for your script.

joplin-desktop build takes forever when using pikaur or trizen

Hello,

the latest joplin-desktop package 1.5.12-1 does not build for me.

At a certain stage during the package build, it simply takes forever. There is no load on the machine, so it might be a network problem finding a dependency. Shell output looks like this:
-> npm cache directory: /home/sabine/.cache/pikaur/build/joplin/src/npm-cache
-> Installing dependencies through Lerna

root@ postinstall /home/sabine/.cache/pikaur/build/joplin/src/joplin-1.5.12
lerna bootstrap --no-ci && npm run tsc

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 9 packages
lerna info Installing external dependencies

then follows the progress bar, which eventually does not progress any further.

Former versions of joplin-desktop did not have this problem, I am a little at loss why it does not finish.
I've tried with to different AUR builders, pikaur and trizen, that did not make any difference.
I've also cleaned the various AUR builder caches etc. that did not help either.

Strangely, when building with straight makepkg, both joplin and joplin-desktop build without problems.

I am a little at loss, why trizen and pikaur seem to be having problems there.
Perhaps you can give me a hint at what to look for.

Regards,

AUR package is distributing Joplin pre-releases

@alfredopalhares, it seems the AUR package is picking up Joplin pre-releases and distributing them. However pre-releases are like beta versions and should not be automatically sent to users, so if you have a script that picks up releases please make sure it skips pre-releases.

I think this issue is only apparent now because of an upgrade to the sync target which makes the pre-release temporarily incompatible with the iOS version.

pamac/ yay fail build files

Cloning joplin build files...
Checking joplin dependencies...
Preparing...

Building joplin...
==> Making package: joplin 1.0.175-1 (Mon 09 Dec 2019 10:44:04 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found joplin.desktop
-> Found joplin-desktop.sh
-> Found joplin.sh
-> Found v1.0.175.zip
==> Validating source files with sha256sums...
joplin.desktop ... FAILED
joplin-desktop.sh ... Passed
joplin.sh ... Passed
v1.0.175.zip ... Passed
==> ERROR: One or more files did not pass the validity check!

joplin-cli waits for interactive prompt when using git with ssh

I have configured git to force ssh connection (when removing it works):

[url "[email protected]:"]
 insteadof = https://github.com/

It looks like the sandbox to install the cli keeps waiting forever as it waits for confirmation of the unknown ssh host as it does not access to the known list of the user.

-> Installing CLI (joplin-1.5.1.tgz)
The authenticity of host 'github.com (140.82.121.4)' can't be established.826.0 checking installable status
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
[..................] - fetchMetadata: sill resolveWithNewModule [email protected] checking installable status
[..................] - fetchMetadata: sill resolveWithNewModule [email protected] checking installable status
[..................] - fetchMetadata: sill resolveWithNewModule [email protected] checking installable status
[..................] - fetchMetadata: sill resolveWithNewModule [email protected] checking installable status
npm ERR! Error while executing:
npm ERR! /bin/git ls-remote -h -t https://github.com/laurent22/uslug.git
npm ERR! 
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR! 
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! 
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/rhillmann/.cache/yay/joplin/src/npm-cache/_logs/2021-01-13T11_50_29_497Z-debug.log
==> ERROR: A failure occurred in package_joplin().
    Aborting...
error making: joplin

Joplin 1.4.19-2 doesn't build

The latest version of the Joplin package does not build for me on Manjaro.
Last build that I successfully tried was 1.13.8. For Joplin 1.4.19-2 I tried it with a clean build:

git clone https://aur.archlinux.org/joplin.git
cd joplin && makepkg -si

Log:

/usr/share/joplin-cli/fork-htmlparser2/node_modules/has-flag/package.json
==> Creating Paket "joplin"...
  -> Creating .PKGINFO Datei...
  -> Creating .BUILDINFO Datei...
  -> Creating .MTREE-Datei...
  -> Komprimiere Paket... 
==> Starting package_joplin-desktop-electron()...
  -> Building Desktop with packaged Electron...

> @joplin/[email protected] dist /path/to/AUR/joplin/src/joplin-1.4.19/packages/app-desktop
> electron-builder "--publish=never" "--linux" "tar.xz" "--x64" "--dir" "-c.electronDist=/usr/lib/electron" "-c.electronVersion=10.1.5"

  • electron-builder  version=22.9.1 os=5.9.11-3-MANJARO
  • loaded configuration  file=package.json ("build" field)
  • electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies

To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
  • writing effective config  file=dist/builder-effective-config.yaml
  • skipped dependencies rebuild  reason=npmRebuild is set to false
  • packaging       platform=linux arch=x64 electron=10.1.5 appOutDir=dist/linux-unpacked
  • copying Electron  source=/usr/lib/electron destination=/path/to/AUR/joplin/src/joplin-1.4.19/packages/app-desktop/dist/linux-unpacked
  • building        target=tar.xz arch=x64 file=dist/@joplin/app-desktop-1.4.19.tar.xz
  ⨯ [object Object]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @joplin/[email protected] dist: `electron-builder "--publish=never" "--linux" "tar.xz" "--x64" "--dir" "-c.electronDist=/usr/lib/electron" "-c.electronVersion=10.1.5"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @joplin/[email protected] dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /path/to/.npm/_logs/2020-12-08T13_46_38_098Z-debug.log
==> ERROR: Error occured in package_joplin-desktop-electron().
    Aborting...
 cat npm_debug_log_sanitized.log 
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/usr/bin/node',
1 verbose cli   '/usr/bin/npm',
1 verbose cli   'run',
1 verbose cli   'dist',
1 verbose cli   '--',
1 verbose cli   '--publish=never',
1 verbose cli   '--linux',
1 verbose cli   'tar.xz',
1 verbose cli   '--x64',
1 verbose cli   '--dir',
1 verbose cli   '-c.electronDist=/usr/lib/electron',
1 verbose cli   '-c.electronVersion=10.1.5'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predist', 'dist', 'postdist' ]
5 info lifecycle @joplin/[email protected]~predist: @joplin/[email protected]
6 info lifecycle @joplin/[email protected]~dist: @joplin/[email protected]
7 verbose lifecycle @joplin/[email protected]~dist: unsafe-perm in lifecycle true
8 verbose lifecycle @joplin/[email protected]~dist: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/path/to/AUR/joplin/src/joplin-1.4.19/packages/app-desktop/node_modules/.bin:/path/to/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin
9 verbose lifecycle @joplin/[email protected]~dist: CWD: /path/to/AUR/joplin/src/joplin-1.4.19/packages/app-desktop
10 silly lifecycle @joplin/[email protected]~dist: Args: [
10 silly lifecycle   '-c',
10 silly lifecycle   'electron-builder "--publish=never" "--linux" "tar.xz" "--x64" "--dir" "-c.electronDist=/usr/lib/electron" "-c.electronVersion=10.1.5"'
10 silly lifecycle ]
11 silly lifecycle @joplin/[email protected]~dist: Returned: code: 1  signal: null
12 info lifecycle @joplin/[email protected]~dist: Failed to exec dist script
13 verbose stack Error: @joplin/[email protected] dist: `electron-builder "--publish=never" "--linux" "tar.xz" "--x64" "--dir" "-c.electronDist=/usr/lib/electron" "-c.electronVersion=10.1.5"`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (node:events:376:20)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (node:events:376:20)
13 verbose stack     at maybeClose (node:internal/child_process:1055:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
14 verbose pkgid @joplin/[email protected]
15 verbose cwd /path/to/AUR/joplin/src/joplin-1.4.19/packages/app-desktop
16 verbose Linux 5.9.11-3-MANJARO
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "dist" "--" "--publish=never" "--linux" "tar.xz" "--x64" "--dir" "-c.electronDist=/usr/lib/electron" "-c.electronVersion=10.1.5"
18 verbose node v15.3.0
19 verbose npm  v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error @joplin/[email protected] dist: `electron-builder "--publish=never" "--linux" "tar.xz" "--x64" "--dir" "-c.electronDist=/usr/lib/electron" "-c.electronVersion=10.1.5"`
22 error Exit status 1
23 error Failed at the @joplin/[email protected] dist script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Compile error for joplin 1.7.11-2 (fstream module not found)

Hello !

I try to install joplin 1.7.11-2 on archlinux but there is an error (fstream module not found) :

> root@ bootstrap /home/yannick/.cache/yay/joplin/src/joplin-1.7.11
> lerna bootstrap --no-ci

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 9 packages
lerna info Installing external dependencies
lerna ERR! npm install --cache /home/yannick/.cache/yay/joplin/src/npm-cache exited 7 in 'joplin'
lerna ERR! npm install --cache /home/yannick/.cache/yay/joplin/src/npm-cache stdout:

> [email protected] install /home/yannick/.cache/yay/joplin/src/joplin-1.7.11/packages/app-cli/node_modules/keytar
> prebuild-install || node-gyp rebuild


lerna ERR! npm install --cache /home/yannick/.cache/yay/joplin/src/npm-cache stderr:
prebuild-install WARN install No prebuilt binaries found (target=12.20.1 runtime=node arch=x64 libc= platform=linux)
gyp ERR! UNCAUGHT EXCEPTION 
gyp ERR! stack Error: Cannot find module 'fstream'
gyp ERR! stack Require stack:
gyp ERR! stack - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/tar/lib/entry.js
gyp ERR! stack - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/tar/lib/entry-writer.js
gyp ERR! stack - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/tar/lib/pack.js
gyp ERR! stack - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/tar/tar.js
gyp ERR! stack - /usr/lib/node_modules/npm/node_modules/node-gyp/lib/install.js
gyp ERR! stack - /usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js
gyp ERR! stack - /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
gyp ERR! stack     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
gyp ERR! stack     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
gyp ERR! stack     at Module.require (internal/modules/cjs/loader.js:887:19)
gyp ERR! stack     at require (internal/modules/cjs/helpers.js:74:18)
gyp ERR! stack     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/tar/lib/entry.js:14:15)
gyp ERR! stack     at Module._compile (internal/modules/cjs/loader.js:999:30)
gyp ERR! stack     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
gyp ERR! stack     at Module.load (internal/modules/cjs/loader.js:863:32)
gyp ERR! stack     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
gyp ERR! stack     at Module.require (internal/modules/cjs/loader.js:887:19)
gyp ERR! System Linux 5.10.16-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/yannick/.cache/yay/joplin/src/joplin-1.7.11/packages/app-cli/node_modules/keytar
gyp ERR! node -v v12.20.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/nodejs/node-gyp/issues>
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 7
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 7
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/yannick/.cache/yay/joplin/src/npm-cache/_logs/2021-03-01T10_54_46_586Z-debug.log

lerna ERR! npm install --cache /home/yannick/.cache/yay/joplin/src/npm-cache exited 7 in 'joplin'
lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately.
npm ERR! code ELIFECYCLE
npm ERR! errno 7
npm ERR! root@ bootstrap: `lerna bootstrap --no-ci`
npm ERR! Exit status 7
npm ERR! 
npm ERR! Failed at the root@ bootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/yannick/.cache/yay/joplin/src/npm-cache/_logs/2021-03-01T10_54_46_662Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 7
npm ERR! root@ postinstall: `npm run bootstrap --no-ci && npm run build`
npm ERR! Exit status 7
npm ERR! 
npm ERR! Failed at the root@ postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/yannick/.cache/yay/joplin/src/npm-cache/_logs/2021-03-01T10_54_46_723Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...

What can I do to go ahead and install joplin with success ? Thanks in advance for help !

Error when using yay -S joplin >> lerna ERR! npm install --cache /home/marc/.cache/yay/joplin/src/npm-cache exited 1 in '@joplin/tools'

lerna ERR! npm install --cache /home/marc/.cache/yay/joplin/src/npm-cache exited 1 in '@joplin/tools'
lerna ERR! npm install --cache /home/marc/.cache/yay/joplin/src/npm-cache stderr:
npm ERR! code 1
npm ERR! path /home/marc/.cache/yay/joplin/src/joplin-1.7.11/packages/tools/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
npm ERR! info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.1/libvips-8.9.1-linux-x64.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack File "", line 1
npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack ^
npm ERR! gyp ERR! stack SyntaxError: invalid syntax
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:326:12)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:378:20)
npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1067:16)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! gyp ERR! System Linux 5.10.22-2-lts
npm ERR! gyp ERR! command "/usr/bin/node" "/home/marc/.cache/yay/joplin/src/joplin-1.7.11/packages/tools/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/marc/.cache/yay/joplin/src/joplin-1.7.11/packages/tools/node_modules/sharp
npm ERR! gyp ERR! node -v v15.11.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

Latest build fails on start

After installing the latest build and launching joplin, it exits on start with the following error:

events.js:291
      throw er; // Unhandled 'error' event
      ^

[Error: SQLITE_ERROR: ./build/lib/sql-extensions/spellfix.so: cannot open shared object file: No such file or directory
Emitted 'error' event on Database instance at:
] {
  errno: 1,
  code: 'SQLITE_ERROR'
}

This seems to be fixed in commit 2200be6.

building fails

==> Starting build()...
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

up to date in 1.801s

> [email protected] install /home/bjo/arch/joplin/src/joplin-1.0.83/CliClient/build/node_modules/sharp
> node-gyp rebuild

make: Entering directory '/home/bjo/arch/joplin/src/joplin-1.0.83/CliClient/build/node_modules/sharp/build'
  TOUCH Release/obj.target/libvips-cpp.stamp
  CXX(target) Release/obj.target/sharp/src/common.o
  CXX(target) Release/obj.target/sharp/src/metadata.o
  CXX(target) Release/obj.target/sharp/src/operations.o
  CXX(target) Release/obj.target/sharp/src/pipeline.o
In file included from ../../nan/nan.h:192:0,
                 from ../src/metadata.cc:19:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
               ^~~~~~~~
In file included from ../src/metadata.cc:19:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, func, argc, argv);

App asking me to upgrade my client even if in latest version

Hello,

I freshly installed the client on my linux at work (well just launched the AppImage...) and synced to my nextcloud folder.
I remember it asked my if I wanted to update something, I said yes and the app did its magic.

When coming home I try to sync on my Windows and it asks me to update the client. Well it was an old version, so I download and install the latest one (1.0.233) but then I launch it and again this error appears:

Terminé : 19/08/2020 18:53
Dernière erreur : Error: Sync version of the target (2) does not match sync version supported by client (1). Please upgrade your client.

I don't know what to do.

joplin-desktop is not installed correctly on manjaro

I try to install joplin-desktop with yay -S joplin-desktop and after the build is done, running joplin-desktop ends with the following error:

$ joplin-desktop 
/usr/bin/joplin-desktop: line 12: ./@joplinapp-desktop: No such file or directory

The only one that installs correctly and runs is the cli version but I have no use for it to be fair.

Support nodejs versions > 8

Edit: I just saw, that there previously was an issue and pull request changing from nodejs to nodejs-lts-carbon. So feel free to disregard this or if you want keep it for the future.

Hey looking at the readme of Joplin itself, it seems they support node versions 8+.
As I am currently using node version 9 from the arch community repositories and joplin seems to run fine with that from my testing, would it be possible to support this as well?

Is it doable in a PKGBUILD (don't have a lot of knowledge of those) to just require either nodejs or nodejs-lts-carbon?

This is just a suggestion for the future as with the latest arch nodejs version (10.0.*) there seem to be some issues laurent22/joplin#467.

YAY - Failed to parse joplin : Line 30: key "pkgbase" can not occur after pkgbase or pkgname: pkgbase = joplin

:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  joplin-1.0.175-2

  1 joplin                                   (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: Downloaded PKGBUILD (1/1): joplin
  1 joplin                                   (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: Parsing SRCINFO (1/1): joplin
failed to parse joplin: Line 30: key "pkgbase" can not occur after pkgbase or pkgname: pkgbase = joplin

Joplin in cli doesn't work

I cannot start Joplin from the commandline anymore, I get the following output:

events.js:291
      throw er; // Unhandled 'error' event
      ^

[Error: SQLITE_ERROR: ./build/lib/sql-extensions/spellfix.so: cannot open shared object file:
No such file or directory
Emitted 'error' event on Database instance at:
] {
  errno: 1,
  code: 'SQLITE_ERROR'
}

The electron app works without a problem.

libgconf-2.so.4 => not found

Please add extra/gconf in makedepends

arch% pacman -Fs libgconf-2.so.4
extra/gconf 3.2.6+11+g07808097-3
usr/lib/libgconf-2.so.4

arch% ldd /usr/share/joplin/joplin
linux-vdso.so.1 (0x00007ffcecff7000)
libnode.so => /usr/share/joplin/libnode.so (0x00007fceabaa3000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fceab885000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007fceab248000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007fceaaf94000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007fceaad87000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007fceaab61000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007fceaa83e000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007fceaa61a000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007fceaa27a000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007fceaa033000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fcea9ddf000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fcea9b16000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fcea98d3000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007fcea9682000)
libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007fcea9480000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fcea9257000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fcea9046000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007fcea8e3c000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007fcea8c39000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007fcea8a2e000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007fcea882b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fcea8619000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007fcea8413000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fcea8208000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fcea7ec9000)
libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007fcea7cc3000)
libXss.so.1 => /usr/lib/libXss.so.1 (0x00007fcea7abf000)
libgconf-2.so.4 => not found
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007fcea78bb000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007fcea76b3000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fcea739c000)
libnss3.so => /usr/lib/libnss3.so (0x00007fcea7072000)
libnssutil3.so => /usr/lib/libnssutil3.so (0x00007fcea6e42000)
libsmime3.so => /usr/lib/libsmime3.so (0x00007fcea6c1b000)
libnspr4.so => /usr/lib/libnspr4.so (0x00007fcea69dd000)
libffmpeg.so => /usr/share/joplin/libffmpeg.so (0x00007fcea633e000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fcea605e000)
libcups.so.2 => /usr/lib/libcups.so.2 (0x00007fcea5dd0000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fcea5bcc000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fcea599a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fcea5611000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fcea527c000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fcea5064000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fcea4ca8000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fcead0df000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007fcea4a94000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007fcea4891000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007fcea45e9000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007fcea43b3000)
libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007fcea41af000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007fcea3fa1000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fcea3d8a000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fcea3b73000)
libmount.so.1 => /usr/lib/libmount.so.1 (0x00007fcea391b000)
libthai.so.0 => /usr/lib/libthai.so.0 (0x00007fcea3711000)
libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007fcea34f5000)
libffi.so.6 => /usr/lib/libffi.so.6 (0x00007fcea32ec000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fcea30dc000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007fcea2e2a000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007fcea2c23000)
libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007fcea299c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fcea2798000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fcea2592000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fcea2320000)
libplds4.so => /usr/lib/libplds4.so (0x00007fcea211c000)
libplc4.so => /usr/lib/libplc4.so (0x00007fcea1f17000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007fcea1cc9000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007fcea19e1000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007fcea17ae000)
libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007fcea15aa000)
libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x00007fcea123f000)
libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x00007fcea1032000)
libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x00007fcea0e21000)
libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007fcea0be9000)
libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007fcea0999000)
libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007fcea0791000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007fcea0565000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fcea033f000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007fcea0128000)
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007fce9fe0c000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007fce9fbff000)
libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007fce9f9fb000)
libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007fce9f6ce000)
libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007fce9f34d000)
libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007fce9f13a000)
libnettle.so.6 => /usr/lib/libnettle.so.6 (0x00007fce9ef03000)
libhogweed.so.4 => /usr/lib/libhogweed.so.4 (0x00007fce9eccd000)
libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007fce9ea3a000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007fce9e81a000)

Error on update - error on lerna run test

When trying to update Joplin, I get an error in the command 'lerna run test --stream'

Environment

Joplin version: 1.3.18
Platform: Linux
OS specifics: Manjaro 20.2

Steps to reproduce

  1. Execute 'yay -Syua'.
  2. Check in 'Yes'.
  3. I wait for it to update.

Describe what you expected to happen

Wait for it to update

LogConsole

➜  ~ yay -Syu
[sudo] password for jaalorsa: 
:: Sincronizando las bases de datos de los paquetes...
 core está actualizado
 extra está actualizado
 community                                                       6,3 MiB   288 KiB/s 00:23 [####################################################] 100%
 multilib está actualizado
:: Iniciando actualización completa del sistema...
...el sistema ya está actualizado.
:: Buscando actualizaciones en los repositorios...
:: Buscando actualizaciones en AUR...
:: 1 Paquetes a actualizar.
1  aur/joplin  1.3.18-1 -> 1.4.19-8
==> Paquetes a excluir: (eg: "1 2 3", "1-3", "^4" o nombre del repositorio)
==> 
:: Buscando conflictos...
:: Buscando conflictos internos...
[Aur:1]  joplin-1.4.19-8

  1 joplin                                   (Instalado) (Archivos de compilación existen)
==> ¿Paquetes a limpiar antes de compilar?
==> [N]inguno [A]Todos [Ab]ortar [I]nstalados [No]Instalados o (1 2 3, 1-3, ^4)
==> n
:: PKGBUILD actualizado, Ignorando (1/1): joplin
  1 joplin                                   (Instalado) (Archivos de compilación existen)
==> ¿Diffs a mostrar?
==> [N]inguno [A]Todos [Ab]ortar [I]nstalados [No]Instalados o (1 2 3, 1-3, ^4)
==> n
:: (1/1) Analizando SRCINFO: joplin
==> Creando el paquete: joplin 1.4.19-8 (mar 15 dic 2020 14:29:08)
==> Recibiendo las fuentes...
  -> joplin.desktop ha sido encontrado 
  -> joplin-desktop.sh ha sido encontrado 
  -> joplin.sh ha sido encontrado 
  -> joplin-1.4.19.tar.gz ha sido encontrado 
==> Validando los archivos source con sha256sums...
    joplin.desktop ... Aprobado
    joplin-desktop.sh ... Aprobado
    joplin.sh ... Aprobado
    joplin-1.4.19.tar.gz ... Aprobado
==> Creando el paquete: joplin 1.4.19-8 (mar 15 dic 2020 14:29:13)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
  -> joplin.desktop ha sido encontrado 
  -> joplin-desktop.sh ha sido encontrado 
  -> joplin.sh ha sido encontrado 
  -> joplin-1.4.19.tar.gz ha sido encontrado 
==> Validando los archivos source con sha256sums...
    joplin.desktop ... Aprobado
    joplin-desktop.sh ... Aprobado
    joplin.sh ... Aprobado
    joplin-1.4.19.tar.gz ... Aprobado
==> Eliminando el directorio $srcdir/...
==> Extrayendo las fuentes...
  -> Extrayendo joplin-1.4.19.tar.gz con bsdtar
==> Las fuentes están listas.
==> Creando el paquete: joplin 1.4.19-8 (mar 15 dic 2020 14:29:35)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> ADVERTENCIA: Usando el árbol existente $srcdir/
==> Eliminando el directorio $pkgdir/...
==> Iniciando build()...
  -> Disabling husky (git hooks)
  -> Installing dependencies...

> root@ postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19
> lerna bootstrap --no-ci && npm run tsc

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 10 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna info lifecycle @joplin/[email protected]~postinstall: @joplin/[email protected]
lerna info lifecycle @joplin/[email protected]~postinstall: @joplin/[email protected]
lerna info lifecycle @joplin/[email protected]~postinstall: @joplin/[email protected]

> @joplin/[email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper
> cd popup && npm install


> [email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup
> node postinstall.js && npm run build


> [email protected] build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup
> node scripts/build.js SKIP_PREFLIGHT_CHECK

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Compiled successfully.

File sizes after gzip:

  48.12 KB  build/static/js/2.chunk.js
  7.52 KB   build/static/js/main.chunk.js
  775 B     build/static/js/runtime-main.js
  746 B     build/static/css/main.chunk.css

The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.

Find out more about deployment here:

  bit.ly/CRA-deploy

npm WARN The package fs-extra is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/react-scripts/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1852 packages from 869 contributors and audited 2131 packages in 68.15s

60 packages are looking for funding
  run `npm fund` for details

found 8831 vulnerabilities (8778 low, 33 moderate, 20 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> @joplin/[email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
> npm run build && gulp electronRebuild


> @joplin/[email protected] build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
> gulp build

[14:32:52] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/gulpfile.js
[14:32:52] Starting 'build'...
[14:32:52] Starting 'compileScripts'...
[14:32:52] Starting 'compilePackageInfo'...
[14:32:52] Starting 'copyPluginAssets'...
[14:32:52] Starting 'copyTinyMceLangs'...
[14:32:52] Starting 'updateIgnoredTypeScriptBuild'...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ClipperConfigScreen.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/DialogButtonRow.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/EncryptionConfigScreen.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ExtensionBadge.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/HelpButton.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/IconButton.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ImportScreen.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ItemList.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/Navigator.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/NotePropertiesDialog.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/NoteRevisionViewer.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/NoteSearchBar.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/NoteStatusBar.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/PromptDialog.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/TagItem.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ToolbarSpace.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/VerticalResizer.jsx...
Copying to /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/note-viewer/pluginAssets
Copying /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../../../Assets/TinyMCE/langs => /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../node_modules/tinymce/langs
[14:33:03] Finished 'compileScripts' after 11 s
[14:33:03] Finished 'compilePackageInfo' after 11 s
[14:33:03] Finished 'updateIgnoredTypeScriptBuild' after 11 s
Copying to /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../pluginAssets
[14:33:03] Finished 'copyTinyMceLangs' after 11 s
[14:33:03] Finished 'copyPluginAssets' after 11 s
[14:33:03] Finished 'build' after 11 s
[14:33:04] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/gulpfile.js
[14:33:04] Starting 'electronRebuild'...
Running: "/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../node_modules/.bin/electron-rebuild"
make: se entra en el directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/lib/node_modules/sqlite3/build'
  CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
  AR(target) Release/obj.target/../node-addon-api/src/nothing.a
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3310100/sqlite3.o
  COPY Release/nothing.a
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/backup.o
  CXX(target) Release/obj.target/node_sqlite3/src/database.o
  CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
  CXX(target) Release/obj.target/node_sqlite3/src/statement.o
  SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
  COPY Release/node_sqlite3.node
  COPY /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/lib/node_modules/sqlite3/lib/binding/napi-v{napi_build_version}-linux-x64/node_sqlite3.node
  TOUCH Release/obj.target/action_after_build.stamp
make: se sale del directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/lib/node_modules/sqlite3/build'
make: se entra en el directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/tools/node_modules/sqlite3/build'
  CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
  AR(target) Release/obj.target/../node-addon-api/src/nothing.a
  COPY Release/nothing.a
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3310100/sqlite3.o
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/backup.o
  CXX(target) Release/obj.target/node_sqlite3/src/database.o
  CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
  CXX(target) Release/obj.target/node_sqlite3/src/statement.o
  SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
  COPY Release/node_sqlite3.node
  COPY /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/tools/node_modules/sqlite3/lib/binding/napi-v{napi_build_version}-linux-x64/node_sqlite3.node
  TOUCH Release/obj.target/action_after_build.stamp
make: se sale del directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/tools/node_modules/sqlite3/build'
make: se entra en el directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/node_modules/keytar/build'
  CXX(target) Release/obj.target/keytar/src/async.o
  CXX(target) Release/obj.target/keytar/src/main.o
  CXX(target) Release/obj.target/keytar/src/keytar_posix.o
  SOLINK_MODULE(target) Release/obj.target/keytar.node
  COPY Release/keytar.node
make: se sale del directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/node_modules/keytar/build'
[14:36:26] Finished 'electronRebuild' after 3.37 min

> @joplin/[email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
> jetify && npm run build

Jetifier found 1332 file(s) to forward-jetify. Using 8 workers...

> @joplin/[email protected] build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
> gulp build

[14:36:30] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile/gulpfile.js
[14:36:30] Starting 'build'...
[14:36:30] Starting 'buildReactNativeInjectedJs'...
[14:36:30] Finished 'buildReactNativeInjectedJs' after 8.14 ms
[14:36:30] Starting 'encodeAssets'...
[14:36:31] Finished 'encodeAssets' after 428 ms
[14:36:31] Starting 'podInstall'...
[14:36:31] Finished 'podInstall' after 1.33 ms
[14:36:31] Finished 'build' after 442 ms
lerna info lifecycle @joplin/[email protected]~prepare: @joplin/[email protected]

> @joplin/[email protected] prepare /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/fork-htmlparser2
> npm run build


> @joplin/[email protected] build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/fork-htmlparser2
> tsc

lerna success Bootstrapped 10 packages

> root@ tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19
> lerna run tsc --stream --parallel

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Executing command in 5 packages: "npm run tsc"
@joplin/app-desktop: > @joplin/[email protected] tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
@joplin/app-desktop: > node node_modules/typescript/bin/tsc --project tsconfig.json
joplin: > [email protected] tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli
joplin: > node node_modules/typescript/bin/tsc --project tsconfig.json
@joplin/app-mobile: > @joplin/[email protected] tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
@joplin/app-mobile: > node node_modules/typescript/bin/tsc --project tsconfig.json
@joplin/lib: > @joplin/[email protected] tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/lib
@joplin/lib: > node node_modules/typescript/bin/tsc --project tsconfig.json
@joplin/renderer: > @joplin/[email protected] tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/renderer
@joplin/renderer: > node node_modules/typescript/bin/tsc --project tsconfig.json
lerna success run Ran npm script 'tsc' in 5 packages in 31.8s:
lerna success - joplin
lerna success - @joplin/app-desktop
lerna success - @joplin/app-mobile
lerna success - @joplin/lib
lerna success - @joplin/renderer
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1134 packages from 779 contributors and audited 1139 packages in 462.228s

58 packages are looking for funding
  run `npm fund` for details

found 14 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
npm WARN @octokit/[email protected] requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ [email protected]
added 1 package from 1 contributor and audited 1140 packages in 18.928s

58 packages are looking for funding
  run `npm fund` for details

found 14 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 10 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna info lifecycle @joplin/[email protected]~postinstall: @joplin/[email protected]
lerna info lifecycle @joplin/[email protected]~postinstall: @joplin/[email protected]
lerna info lifecycle @joplin/[email protected]~postinstall: @joplin/[email protected]

> @joplin/[email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper
> cd popup && npm install


> [email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup
> node postinstall.js && npm run build


> [email protected] build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup
> node scripts/build.js SKIP_PREFLIGHT_CHECK

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Compiled successfully.

File sizes after gzip:

  48.12 KB  build/static/js/2.chunk.js
  7.52 KB   build/static/js/main.chunk.js
  775 B     build/static/js/runtime-main.js
  746 B     build/static/css/main.chunk.css

The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.

Find out more about deployment here:

  bit.ly/CRA-deploy

npm WARN [email protected] requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN The package fs-extra is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/react-scripts/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

audited 2131 packages in 31.713s

60 packages are looking for funding
  run `npm fund` for details

found 8831 vulnerabilities (8778 low, 33 moderate, 20 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> @joplin/[email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
> npm run build && gulp electronRebuild


> @joplin/[email protected] build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
> gulp build

[14:38:48] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/gulpfile.js
[14:38:48] Starting 'build'...
[14:38:48] Starting 'compileScripts'...
[14:38:48] Starting 'compilePackageInfo'...
[14:38:48] Starting 'copyPluginAssets'...
[14:38:48] Starting 'copyTinyMceLangs'...
[14:38:48] Starting 'updateIgnoredTypeScriptBuild'...
Copying to /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/note-viewer/pluginAssets
Copying /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../../../Assets/TinyMCE/langs => /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../node_modules/tinymce/langs
[14:38:49] Finished 'compileScripts' after 1.27 s
[14:38:49] Finished 'compilePackageInfo' after 1.27 s
[14:38:49] Finished 'updateIgnoredTypeScriptBuild' after 1.3 s
Copying to /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../pluginAssets
[14:38:49] Finished 'copyTinyMceLangs' after 1.36 s
[14:38:49] Finished 'copyPluginAssets' after 1.41 s
[14:38:49] Finished 'build' after 1.42 s
[14:38:50] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/gulpfile.js
[14:38:50] Starting 'electronRebuild'...
Running: "/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../node_modules/.bin/electron-rebuild"

[14:38:53] Finished 'electronRebuild' after 3.14 s

> @joplin/[email protected] postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
> jetify && npm run build

Jetifier found 1332 file(s) to forward-jetify. Using 8 workers...

> @joplin/[email protected] build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
> gulp build

[14:38:56] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile/gulpfile.js
[14:38:56] Starting 'build'...
[14:38:56] Starting 'buildReactNativeInjectedJs'...
[14:38:56] Finished 'buildReactNativeInjectedJs' after 7.31 ms
[14:38:56] Starting 'encodeAssets'...
[14:38:57] Finished 'encodeAssets' after 299 ms
[14:38:57] Starting 'podInstall'...
[14:38:57] Finished 'podInstall' after 961 μs
[14:38:57] Finished 'build' after 312 ms
lerna info lifecycle @joplin/[email protected]~prepare: @joplin/[email protected]

> @joplin/[email protected] prepare /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/fork-htmlparser2
> npm run build


> @joplin/[email protected] build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/fork-htmlparser2
> tsc

lerna success Bootstrapped 10 packages
==> Iniciando check()...
  -> Running Lerna Test Suite

> root@ test /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19
> lerna run test --stream

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Executing command in 3 packages: "npm run test"
@joplin/renderer: > @joplin/[email protected] test /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/renderer
@joplin/renderer: > jest
@joplin/renderer: PASS MdToHtml/linkReplacement.test.js
@joplin/renderer:   linkReplacement
@joplin/renderer:     ✓ should handle non-resource links (9 ms)
@joplin/renderer:     ✓ should handle non-resource links - simple rendering (1 ms)
@joplin/renderer:     ✓ should handle resource links - downloaded status (1 ms)
@joplin/renderer:     ✓ should handle resource links - idle status
@joplin/renderer: Test Suites: 1 passed, 1 total
@joplin/renderer: Tests:       4 passed, 4 total
@joplin/renderer: Snapshots:   0 total
@joplin/renderer: Time:        2.108 s
@joplin/renderer: Ran all test suites.
joplin: > [email protected] test /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli
joplin: > jest --config=jest.config.js --runInBand --bail --forceExit
@joplin/app-desktop: > @joplin/[email protected] test /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
@joplin/app-desktop: > jest
@joplin/app-desktop: PASS gui/ResizableLayout/utils/persist.test.js
@joplin/app-desktop: PASS gui/ResizableLayout/utils/useLayoutItemSizes.test.js
@joplin/app-desktop: PASS gui/ResizableLayout/utils/movements.test.js (5.007 s)
@joplin/app-desktop: Test Suites: 3 passed, 3 total
@joplin/app-desktop: Tests:       12 passed, 12 total
@joplin/app-desktop: Snapshots:   0 total
@joplin/app-desktop: Time:        6.038 s
@joplin/app-desktop: Ran all test suites.
joplin: PASS tests/synchronizer.js (79.45 s)
joplin: FAIL tests/services_rest_Api.js (26.776 s)
joplin:   ● services_rest_Api › should ping
joplin:     Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.
joplin:       at mapper (node_modules/jest-jasmine2/build/queueRunner.js:27:45)
joplin: Summary of all failing tests
joplin: FAIL tests/services_rest_Api.js (26.776 s)
joplin:   ● services_rest_Api › should ping
joplin:     Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.
joplin:       at mapper (node_modules/jest-jasmine2/build/queueRunner.js:27:45)
joplin: Test Suites: 1 failed, 1 passed, 2 of 52 total
joplin: Tests:       1 failed, 91 passed, 92 total
joplin: Snapshots:   0 total
joplin: Time:        106.34 s
joplin: Ran all test suites.
joplin: npm ERR! code ELIFECYCLE
joplin: npm ERR! errno 1
joplin: npm ERR! [email protected] test: `jest --config=jest.config.js --runInBand --bail --forceExit`
joplin: npm ERR! Exit status 1
joplin: npm ERR! 
joplin: npm ERR! Failed at the [email protected] test script.
joplin: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
joplin: npm ERR! A complete log of this run can be found in:
joplin: npm ERR!     /home/jaalorsa/.npm/_logs/2020-12-15T19_40_59_931Z-debug.log
lerna ERR! npm run test exited 1 in 'joplin'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! root@ test: `lerna run test --stream`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the root@ test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
 ERR! A complete log of this run can be found in:
npm ERR!     /home/jaalorsa/.npm/_logs/2020-12-15T19_40_59_993Z-debug.log
==> ERROR: Se produjo un fallo en check().
    Cancelando...
error compilando: joplin

Logfile

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'test' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pretest', 'test', 'posttest' ]
5 info lifecycle [email protected]pretest: [email protected]
6 info lifecycle [email protected]
test: [email protected]
7 verbose lifecycle [email protected]test: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
test: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/src/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/node_modules/.bin:/home/jaalorsa/.cache/yay/node_modules/.bin:/home/jaalorsa/.cache/node_modules/.bin:/home/jaalorsa/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/usr/bin:/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/node_modules/.bin:/home/jaalorsa/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
9 verbose lifecycle [email protected]test: CWD: /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli
10 silly lifecycle [email protected]
test: Args: [ '-c', 'jest --config=jest.config.js --runInBand --bail --forceExit' ]
11 silly lifecycle [email protected]test: Returned: code: 1 signal: null
12 info lifecycle [email protected]
test: Failed to exec test script
13 verbose stack Error: [email protected] test: jest --config=jest.config.js --runInBand --bail --forceExit
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (node:events:376:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (node:events:376:20)
13 verbose stack at maybeClose (node:internal/child_process:1055:16)
13 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli
16 verbose Linux 5.4.80-2-MANJARO
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "test"
18 verbose node v15.3.0
19 verbose npm v6.14.9
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] test: jest --config=jest.config.js --runInBand --bail --forceExit
22 error Exit status 1
23 error Failed at the [email protected] test script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

yay install fails due to locale issue

Output of yay -S joplin and locale -a

==> Making package: joplin 1.0.161-1 (Tue Aug 13 16:18:51 2019)
==> Retrieving sources...
  -> Found joplin.desktop
  -> Found joplin-desktop.sh
  -> Found joplin.sh
  -> Found v1.0.161.zip
==> Validating source files with sha256sums...
    joplin.desktop ... Passed
    joplin-desktop.sh ... Passed
    joplin.sh ... Passed
    v1.0.161.zip ... Passed
==> Cleaning up...
==> Making package: joplin 1.0.161-1 (Tue Aug 13 16:18:51 2019)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found joplin.desktop
  -> Found joplin-desktop.sh
  -> Found joplin.sh
  -> Found v1.0.161.zip
==> Validating source files with sha256sums...
    joplin.desktop ... Passed
    joplin-desktop.sh ... Passed
    joplin.sh ... Passed
    v1.0.161.zip ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v1.0.161.zip with bsdtar
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract v1.0.161.zip
    Aborting...
checking dependencies...
:: nodejs optionally requires npm: nodejs package manager

Packages (4) node-gyp-5.0.2-1  npm-6.10.3-1  rsync-3.1.3-1  semver-6.3.0-1

Total Removed Size:  23.05 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/4) removing npm                                                                [###############################################] 100%
(2/4) removing node-gyp                                                           [###############################################] 100%
(3/4) removing semver                                                             [###############################################] 100%
(4/4) removing rsync                                                              [###############################################] 100%
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
[olingern@archtop ~]$ locale -a
C
POSIX
en_US.utf8

npm audit failures with v1.0.160

npm is reporting numerous critical audit failures with this build. Please update dependency versions for the affected packages.

Unhandled promise rejection Promise when saving file

When saving file, error is thrown saying there was an attempt to write to a readonly database. After checking the specified config files the code SQLITE_READONLY wasn't present.

`Unhandled promise rejection Promise {
Error: Error: SQLITE_READONLY: attempt to write a readonly database: DELETE FROM settings
at DatabaseDriverNode.sqliteErrorToJsError (/usr/share/joplin-cli/lib/database-driver-node.js:21:16)
at JoplinDatabase.sqliteErrorToJsError (/usr/share/joplin-cli/lib/database.js:22:24)
at JoplinDatabase.tryCall (/usr/share/joplin-cli/lib/database.js:85:17)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
code: 'SQLITE_READONLY'
}
}

reason: Error: Error: SQLITE_READONLY: attempt to write a readonly database: DELETE FROM settings
at DatabaseDriverNode.sqliteErrorToJsError (/usr/share/joplin-cli/lib/database-driver-node.js:21:16)
at JoplinDatabase.sqliteErrorToJsError (/usr/share/joplin-cli/lib/database.js:22:24)
at JoplinDatabase.tryCall (/usr/share/joplin-cli/lib/database.js:85:17)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
code: 'SQLITE_READONLY'
}`

error! about electron

@joplinapp-desktop: error while loading shared libraries: libre2.so.9: cannot open shared object file: No such file or directory

Failing to install

This is failing to install. Here's a part of the output. I can provide the complete log if needed.
This is somehow trying to install [email protected] after having installed [email protected] and the link which is trying to get the binary from gives Access Denied:
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.6/node-v72-linux-x64.tar.gz
while 4.0.7 link works:
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.7/node-v72-linux-x64.tar.gz
So it builds it from sources producing lots of errors.

> [email protected] install /home/fabius/.cache/yay/joplin/src/joplin-1.0.165/CliClient/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
[sqlite3] Success: "/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/CliClient/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node" is installed via remote
+ [email protected]
added 451 packages from 721 contributors and audited 970 packages in 22.006s
found 2 vulnerabilities (1 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> [email protected] postinstall /home/fabius/.cache/yay/joplin/src/joplin-1.0.165/CliClient
> cd .. && npm i

audited 595 packages in 1.706s
found 1 critical severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details
audited 970 packages in 4.049s
found 2 vulnerabilities (1 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> [email protected] install /home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.6/node-v72-linux-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory '/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/build'
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3260000/sqlite3.o



...lots of errors...



make: *** [node_sqlite3.target.mk:125: Release/obj.target/node_sqlite3/src/database.o] Error 1
make: Leaving directory '/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.2.11-arch1-1-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3
gyp ERR! node -v v12.9.1
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Linux 5.2.11-arch1-1-ARCH
node-pre-gyp ERR! command "/usr/bin/node" "/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3
node-pre-gyp ERR! node -v v12.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/fabius/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/fabius/.npm/_logs/2019-09-02T17_56_46_372Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
Error making: joplin

Issue with the check() function while updating to/installing `joplin-desktop-electron 1.4.19-2'

Experiencing an issue with the check() function, which runs out of process spawning capabilites during the package build. The issue occurred when updating to/installing the joplin-desktop-electron' (1.4.19-2) package. The install errored out with the following messages. A temporary solution is to add the `--nocheck' flag to makepkg.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @joplin/[email protected] dist: `electron-builder "--publish=never" "--linux" "tar.xz" "--x64" "--dir" "-c.electronDist=/usr/lib/electron" "-c.electronVersion=10.1.5"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @joplin/[email protected] dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/username/.npm/_logs/2020-12-08T16_37_06_951Z-debug.log
==> ERROR: A failure occurred in package_joplin-desktop-electron().
    Aborting...
error making: joplin

The full npm debug log is below.

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'test' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pretest', 'test', 'posttest' ]
5 info lifecycle root@~pretest: root@
6 info lifecycle root@~test: root@
7 verbose lifecycle root@~test: unsafe-perm in lifecycle true
8 verbose lifecycle root@~test: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/username/.cache/yay/joplin/src/joplin-1.4.19/node_modules/.bin:/home/username/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
9 verbose lifecycle root@~test: CWD: /home/username/.cache/yay/joplin/src/joplin-1.4.19
10 silly lifecycle root@~test: Args: [ '-c', 'lerna run test --stream' ]
11 silly lifecycle root@~test: Returned: code: 1  signal: null
12 info lifecycle root@~test: Failed to exec test script
13 verbose stack Error: root@ test: `lerna run test --stream`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (node:events:376:20)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (node:events:376:20)
13 verbose stack     at maybeClose (node:internal/child_process:1055:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
14 verbose pkgid root@
15 verbose cwd /home/username/.cache/yay/joplin/src/joplin-1.4.19
16 verbose Linux 5.9.11-3-MANJARO
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "test"
18 verbose node v15.3.0
19 verbose npm  v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error root@ test: `lerna run test --stream`
22 error Exit status 1
23 error Failed at the root@ test script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

build broken

/data/build/.node-gyp/10.5.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:66:61:   required from here
/data/build/.node-gyp/10.5.0/include/node/v8.h:9360:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [sharp.target.mk:125: Release/obj.target/sharp/src/common.o] Error 1
make: Leaving directory '/data/build/.cache/aursync/joplin/src/joplin-1.0.104/CliClient/build/node_modules/sharp/build'

No ides why it fails...

1.0.201 build error in Manjaro

Hi there,
been trying up upgrade but get these errors.. 1.0.200 went through flawlessly, this one not so much.
TY for making this available, and hope this issue gets resolved (without me reinstalling)!

Same error with yay and/or pamac with AUR enabled

screen message:

> [email protected] dist /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient
> electron-builder

  • electron-builder  version=22.3.2 os=5.4.31-1-MANJARO
  • loaded configuration  file=package.json ("build" field)
  • electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies

To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
  • writing effective config  file=dist/builder-effective-config.yaml
  • skipped dependencies rebuild  reason=npmRebuild is set to false
  • packaging       platform=linux arch=x64 electron=7.1.14 appOutDir=dist/linux-unpacked
  • building        target=AppImage arch=x64 file=dist/Joplin-1.0.201.AppImage
  ⨯ open /home/jzantey/.cache/electron-builder/appimage/appimage-12.0.1/runtime-x64: no such file or directory
github.com/develar/app-builder/pkg/package-format/appimage.AppImage
	/Volumes/data/Documents/app-builder/pkg/package-format/appimage/appImage.go:110
github.com/develar/app-builder/pkg/package-format/appimage.ConfigureCommand.func1
	/Volumes/data/Documents/app-builder/pkg/package-format/appimage/appImage.go:59
github.com/alecthomas/kingpin.(*actionMixin).applyActions
	/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
	/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
0 info it worked if it ends with ok
	/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
	/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
	/Volumes/data/Documents/app-builder/main.go:90
runtime.main
	/usr/local/Cellar/go/1.13.6/libexec/src/runtime/proc.go:203
runtime.goexit
	/usr/local/Cellar/go/1.13.6/libexec/src/runtime/asm_amd64.s:1357  
  ⨯ /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient/node_modules/builder-util/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE  stackTrace=
                                                                                                                                                                                                               Error: /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient/node_modules/builder-util/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
                                                                                                                                                                                                                   at ChildProcess.<anonymous> (/var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient/node_modules/builder-util/src/util.ts:239:14)
                                                                                                                                                                                                                   at Object.onceWrapper (events.js:300:26)
                                                                                                                                                                                                                   at ChildProcess.emit (events.js:210:5)
                                                                                                                                                                                                                   at maybeClose (internal/child_process.js:1021:16)
                                                                                                                                                                                                                   at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dist: `electron-builder`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jzantey/.npm/_logs/2020-04-19T01_37_48_697Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...

log file:

github.com/alecthomas/kingpin.(*Application).applyActions
	/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/home/jzantey/.nvm/versions/node/v12.13.0/bin/node',
1 verbose cli   '/home/jzantey/.nvm/versions/node/v12.13.0/bin/npm',
1 verbose cli   'run',
1 verbose cli   'dist'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predist', 'dist', 'postdist' ]
5 info lifecycle [email protected]~predist: [email protected]
6 info lifecycle [email protected]~dist: [email protected]
7 verbose lifecycle [email protected]~dist: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~dist: PATH: /home/jzantey/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/Electro
nClient/node_modules/.bin:/home/jzantey/.nvm/versions/node/v12.13.0/bin:/home/jzantey/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/
bin/core_perl:/var/lib/snapd/snap/bin:/home/jzantey/applications
9 verbose lifecycle [email protected]~dist: CWD: /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient
10 silly lifecycle [email protected]~dist: Args: [ '-c', 'electron-builder' ]
11 silly lifecycle [email protected]~dist: Returned: code: 1  signal: null
12 info lifecycle [email protected]~dist: Failed to exec dist script
13 verbose stack Error: [email protected] dist: `electron-builder`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/home/jzantey/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:210:5)
13 verbose stack     at ChildProcess.<anonymous> (/home/jzantey/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:210:5)
13 verbose stack     at maybeClose (internal/child_process.js:1021:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid [email protected]
15 verbose cwd /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient
16 verbose Linux 5.4.31-1-MANJARO
17 verbose argv "/home/jzantey/.nvm/versions/node/v12.13.0/bin/node" "/home/jzantey/.nvm/versions/node/v12.13.0/bin/npm" "run" "dist"
18 verbose node v12.13.0
19 verbose npm  v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dist: `electron-builder`
22 error Exit status 1
23 error Failed at the [email protected] dist script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Unable to launch joplin-desktop

I installed the joplin meta package from the AUR. I am getting the following error when I try to launch joplin-desktop.

./@joplinapp-desktop: error while loading shared libraries: libicui18n.so.67: cannot open shared object file: No such file or directory

I think the issue isn't related to the packaging itself, but my guess is as good as a cow's opinion.

PS I found a related thread on Reddit as well.

1.0.177 fails to start the desktop app properly

The issue is that with the new changes for adding typescript code, we're missing both building the typescript and the new way to copy the lib folder around.

The issue presents to the user as seeing a blank window when Joplin opens and the following in the dev console:

Error: Cannot find module ‘lib/JoplinServerApi.js’
Require stack:

    /usr/share/joplin-cli/lib/SyncTargetNextcloud.js
    /usr/share/joplin-cli/lib/BaseApplication.js
    /usr/share/joplin-cli/app.js
    /usr/share/joplin-cli/main.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:17)
    at Function.Module._load (internal/modules/cjs/loader.js:859:27)
    at Module.require (internal/modules/cjs/loader.js:1028:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object. (/usr/share/joplin-cli/lib/SyncTargetNextcloud.js:9:25)
    at Module._compile (internal/modules/cjs/loader.js:1139:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1159:10)
    at Module.load (internal/modules/cjs/loader.js:988:32)
    at Function.Module._load (internal/modules/cjs/loader.js:896:14)
    at Module.require (internal/modules/cjs/loader.js:1028:19) {
    code: ‘MODULE_NOT_FOUND’,
    requireStack:[
‘/usr/share/joplin-cli/lib/SyncTargetNextcloud.js’,
‘/usr/share/joplin-cli/lib/BaseApplication.js’,
‘/usr/share/joplin-cli/app.js’,
‘/usr/share/joplin-cli/main.js’
]
}

See this thread on the Joplin forum.

npm error cb() never called!

When I installed joplin in Manjaro using yay, the errors raised up:
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community

npm ERR! A complete log of this run can be found in:
npm ERR! /home/lawrencejiang/.cache/yay/joplin/src/npm-cache/_logs/2020-04-06T07_03_55_685Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: cd Tools && npm i && cd .. && cd ReactNativeClient && npm i && cd .. && cd ElectronClient && npm i && cd .. && cd CliClient && npm i && cd .. && gulp build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/lawrencejiang/.cache/yay/joplin/src/npm-cache/_logs/2020-04-06T07_03_55_735Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.