Build keeps failing during the Yarn dependencies installation.
YN0000: Failed with errors in 2m 13s
Git Clone URL: | https://aur.archlinux.org/joplin.git (read-only, click to copy) |
---|---|
Package Base: | joplin |
Description: | A note taking and to-do application with synchronization capabilities - CLI App |
Upstream URL: | https://joplinapp.org/ |
Keywords: | markdown note notetaking productivity |
Licenses: | MIT |
Groups: | joplin |
Submitter: | masterkorp |
Maintainer: | masterkorp |
Last Packager: | masterkorp |
Votes: | 263 |
Popularity: | 2.22 |
First Submitted: | 2018-04-18 16:33 (UTC) |
Last Updated: | 2024-07-29 19:54 (UTC) |
Build keeps failing during the Yarn dependencies installation.
YN0000: Failed with errors in 2m 13s
Note nodejs>=20.15.0
is required, which I think precludes nodejs-lts-fermium
and nodejs-lts-hydrogen
.
Hey, I think Joplin's license is AGPL-3-or-later, not MIT: https://github.com/laurent22/joplin?tab=License-1-ov-file#readme
had the sync problem too... applied the temporary solutions of @cmach_socket and joplin 3.0.13 builds fine...
diff --git a/PKGBUILD b/PKGBUILD
index dd5c0a8..508c289 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgbase="joplin"
pkgname=('joplin' 'joplin-desktop')
-pkgver=2.14.20
+pkgver=3.0.13
groups=('joplin')
pkgrel=1
install="joplin.install"
@@ -24,7 +24,7 @@ source=("joplin.desktop" "joplin-desktop.sh" "joplin.sh"
sha256sums=('c7c5d8b0ff9edb810ed901ea21352c9830bfa286f3c18b1292deca5b2f8febd2'
'a450284fe66d89aa463d129ce8fff3a0a1a783a64209e4227ee47449d5737be8'
'b6a8361cbc59e7dbc33bcc427274efb945d8d654bf013b12c7021be681f568e2'
-'919e9300e66bc6c24a282cbf93c43c228cdfe3227bdb1eaa50fdadef4734901b')
+'2bf91efec385801bb13b62b459e21c1eb80d35a772f517ba7d079eb91faa1f98')
# local npm cache directory
_yarn_cache="yarn-cache"
@@ -84,7 +84,7 @@ prepare() {
# local lerna_json="${srcdir}/joplin-${pkgver}/lerna.json"
msg2 "Deleting Unnecessary Packages"
- rm -r "${srcdir}/joplin-${pkgver}/packages/app-mobile"
+ #rm -r "${srcdir}/joplin-${pkgver}/packages/app-mobile"
rm -r "${srcdir}/joplin-${pkgver}/packages/app-clipper"
rm -r "${srcdir}/joplin-${pkgver}/packages/server"
}
@autape,
There is a temporary solution that you can edit the version of joplin in PKGBUILD and delete the line rm -r "${srcdir}/joplin-${pkgver}/packages/app-mobile"
,which would fix an compile error.
The app now refuses to sync (one of the primary features for me): In order to synchronise, please upgrade your application to version 3.0.0+
Hello @masterkorp, I'm seconding @proledatarian's request for you to either fix/update the package, or accept the help offered by @cuihao (whose package built successfully).
the package doesn't build (canvas@npm:2.11.2 couldn't be built successfully (exit code 1...)), I opened an issue https://github.com/alfredopalhares/arch-pkgbuilds/issues/135 if anyone knows the solution, please post it here
Pinned Comments
masterkorp commented on 2021-12-27 11:30 (UTC) (edited on 2021-12-27 11:32 (UTC) by masterkorp)
Hello everyone,
There was been several difficulties upgrading the Joplin due to major changes in the build system upstream.
I have finnally got version 2.6.10 working with pacthes, but remenber:
You may need to remove your src/ folder before using this version
The patches are still not perfect, you must say yes to a prompt
I will continue working on this later today, but its usable and stable, please remenber you can always report issues on the github repository.
Regards, Alfredo Palhares
masterkorp commented on 2020-12-24 19:58 (UTC) (edited on 2020-12-24 20:00 (UTC) by masterkorp)
Hello everyone,
I will be renaming the packages to its final form.
Also, please for problems with the package, please open an issue on the Github repo, its really hard to provide support on the comments section, you can also email me.
If you have problems with the
check()
function, just run makepkg with the--nocheck
flag.Thank you for your patience. Regards, Alfredo Palhares