Unable to update and build with yay
. something is wrong with pdf-reader
full error message
Node.js v19.0.1
ERROR: "build:pdf.js" exited with 1.
at ChildProcess.exithandler (node:child_process:412:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5) {
code: 1,
killed: false,
signal: null,
cmd: 'npm run build',
stdout: '\n' +
'> pdf-reader@1.0.0 build\n' +
'> run-s build:pdf.js build:reader\n' +
'\n' +
'\n' +
'> pdf-reader@1.0.0 build:pdf.js\n' +
'> sh scripts/build-pdfjs\n' +
'\n' +
'\n' +
'added 1527 packages, and audited 1962 packages in 20s\n' +
'\n' +
'102 packages are looking for funding\n' +
' run `npm fund` for details\n' +
Pinned Comments
agkphysics commented on 2023-06-14 11:31 (UTC)
@jeyes https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
agkphysics commented on 2023-02-08 10:12 (UTC)
If people are having issues, try building with
extra-x86_64-build
in a clean chroot.