It still fails:
$ cat /tmp/xfs-9151a207/build.log
# This file contains the result of Yarn building a package (sharp@npm:0.32.6)
# Script name: install
sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
sharp: Integrity check passed for linux-x64
gyp info it worked if it ends with ok
gyp info using node-gyp@9.3.0
gyp info using node@18.20.2 | linux | x64
gyp info find Python using Python version 3.12.3 found at "/usr/bin/python3"
gyp http GET https://nodejs.org/dist/v27.3.11/node-v27.3.11-headers.tar.gz
gyp http 404 https://nodejs.org/dist/v27.3.11/node-v27.3.11-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 response downloading https://nodejs.org/dist/v27.3.11/node-v27.3.11-headers.tar.gz
gyp ERR! stack at go (/tmp/makepkg/losslesscut-git/src/losslesscut.git/node_modules/node-gyp/lib/install.js:153:17)
gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
gyp ERR! stack at async install (/tmp/makepkg/losslesscut-git/src/losslesscut.git/node_modules/node-gyp/lib/install.js:62:18)
gyp ERR! System Linux 6.8.9-7-cachyos-lto
gyp ERR! command "/tmp/makepkg/losslesscut-git/src/.nvm/versions/node/v18.20.2/bin/node" "/tmp/makepkg/losslesscut-git/src/losslesscut.git/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/makepkg/losslesscut-git/src/losslesscut.git/node_modules/sharp
gyp ERR! node -v v18.20.2
gyp ERR! node-gyp -v v9.3.0
gyp ERR! not ok
Pinned Comments
zxp19821005 commented on 2024-01-08 10:19 (UTC)
When you first used it,you will got errors like 'Cann't find ffmpeg'.Then please switch to
advanced settings
and manually set the ffmpeg path to/usr/bin
.That will be OK.