@maniacata The build failure is caused by yarn linking dependencies wrong. And it's fixed now
Search Criteria
Package Details: motrix 1.8.19-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/motrix.git (read-only, click to copy) |
---|---|
Package Base: | motrix |
Description: | A full-featured download manager (release version) |
Upstream URL: | https://github.com/agalwood/Motrix |
Keywords: | aria2 motrix |
Licenses: | MIT |
Conflicts: | motrix-git |
Submitter: | weearc |
Maintainer: | zhullyb |
Last Packager: | zhullyb |
Votes: | 20 |
Popularity: | 0.003169 |
First Submitted: | 2019-01-17 19:34 (UTC) |
Last Updated: | 2023-05-04 00:18 (UTC) |
Dependencies (7)
- electron22AUR (electron22-binAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libxcb (libxcb-gitAUR)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogen, nodejs-lts-iron) (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- yarn (yarn-pnpm-corepackAUR, corepackerAUR, yarn-berryAUR) (make)
Required by (0)
Sources (3)
weearc commented on 2020-05-03 08:25 (UTC)
maniacata commented on 2020-05-03 04:48 (UTC) (edited on 2020-05-03 04:48 (UTC) by maniacata)
$ electron-builder install-app-deps && npm run lint:fix
Error: Unresolved node modules: bufferutil, utf-8-validate
xstefen commented on 2020-01-22 17:47 (UTC)
Eliminated China optimization code in order to get a successful installation
weearc commented on 2019-09-03 15:26 (UTC)
@P-McNewHold @Fans PKGBUILD has been updated and use the former method to pack please try to install it again.
P-McNewHold commented on 2019-09-03 11:51 (UTC)
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'pack' ]
2 info using npm@6.11.2
3 info using node@v12.9.1
4 verbose run-script [ 'prepack', 'pack', 'postpack' ]
5 info lifecycle Motrix@1.4.1~prepack: Motrix@1.4.1
6 info lifecycle Motrix@1.4.1~pack: Motrix@1.4.1
7 verbose lifecycle Motrix@1.4.1~pack: unsafe-perm in lifecycle true
8 verbose lifecycle Motrix@1.4.1~pack: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pm/.cache/yay/motrix/src/Motrix-1.4.1/node_modules/.bin:/home/pm/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/cuda/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 Motrix@1.4.1~pack: CWD: /home/pm/.cache/yay/motrix/src/Motrix-1.4.1
10 silly lifecycle Motrix@1.4.1~pack: Args: [ '-c', 'npm run pack:main && npm run pack:renderer' ]
11 silly lifecycle Motrix@1.4.1~pack: Returned: code: 2 signal: null
12 info lifecycle Motrix@1.4.1~pack: Failed to exec pack script
13 verbose stack Error: Motrix@1.4.1 pack: npm run pack:main && npm run pack:renderer
13 verbose stack Exit status 2
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 (events.js:209:13)
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 (events.js:209:13)
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 Motrix@1.4.1
15 verbose cwd /home/pm/.cache/yay/motrix/src/Motrix-1.4.1
16 verbose Linux 5.2.11-arch1-1-ARCH
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "pack"
18 verbose node v12.9.1
19 verbose npm v6.11.2
20 error code ELIFECYCLE
21 error errno 2
22 error Motrix@1.4.1 pack: npm run pack:main && npm run pack:renderer
22 error Exit status 2
23 error Failed at the Motrix@1.4.1 pack script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
Fans commented on 2019-09-01 01:46 (UTC)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@4.2.4 postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@4.2.4 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/impressme/.cache/yay/motrix/src/npm_cache/_logs/2019-09-01T01_41_06_128Z-debug.log ==> 错误: 在 build() 中发生一个错误。 正在放弃... Error making: motrix
weearc commented on 2019-08-12 05:37 (UTC)
@dctxmei 现将讨论中的PKGBUILD样本拿来使用了,个人还在尝试理解那个写法...
Pinned Comments