Can't install in Archlinux x64

Hi there. Got this:

6612 verbose stack Error: sharp@0.18.4 install: `node-gyp rebuild`
6612 verbose stack Exit status 1
6612 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
6612 verbose stack     at EventEmitter.emit (events.js:182:13)
6612 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
6612 verbose stack     at ChildProcess.emit (events.js:182:13)
6612 verbose stack     at maybeClose (internal/child_process.js:962:16)
6612 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
6613 verbose pkgid sharp@0.18.4
6614 verbose cwd /home/gabriel/.cache/yay/joplin/src/joplin-1.0.106/CliClient/build
6615 verbose Linux 4.18.12-arch1-1-ARCH
6616 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
6617 verbose node v10.11.0
6618 verbose npm  v6.4.1
6619 error code ELIFECYCLE
6620 error errno 1
6621 error sharp@0.18.4 install: `node-gyp rebuild`
6621 error Exit status 1
6622 error Failed at the sharp@0.18.4 install script.
6622 error This is probably not a problem with npm. There is likely additional logging output above.
6623 verbose exit [ 1, true ]

Downgrading nodejs to nodejs-lts-carbon worked as per suggested in the AUR package comments.