I get this error while building, and it leaves several npm install
processes running and maxing out my bandwidth.
==> Starting build()...
-> npm cache directory: /home/txtsd/.cache/yay/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/txtsd/.cache/yay/joplin/src/npm-cache exited 1 in '@joplin/turndown'
lerna ERR! npm install --cache /home/txtsd/.cache/yay/joplin/src/npm-cache stderr:
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! request to https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz failed, reason: Socket timeout
npm ERR! A complete log of this run can be found in:
npm ERR! /home/txtsd/.cache/yay/joplin/src/npm-cache/_logs/2021-04-18T07_18_49_739Z-debug.log
lerna ERR! npm install --cache /home/txtsd/.cache/yay/joplin/src/npm-cache exited 1 in '@joplin/turndown'
lerna WARN complete Waiting for 7 child processes to exit. CTRL-C to exit immediately.
npm ERR! code 1
npm ERR! path /home/txtsd/.cache/yay/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/txtsd/.cache/yay/joplin/src/npm-cache/_logs/2021-04-18T07_18_49_894Z-debug.log
==> ERROR: A failure occurred in build().
Aborting...
error making: joplin (joplin-desktop)
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