FS#75677 - Caprine build broken
Attached to Project:
Arch Linux
Opened by Dušan Simić (dusansimic) - Tuesday, 23 August 2022, 08:27 GMT
Last edited by freswa (frederik) - Tuesday, 23 August 2022, 12:32 GMT
Opened by Dušan Simić (dusansimic) - Tuesday, 23 August 2022, 08:27 GMT
Last edited by freswa (frederik) - Tuesday, 23 August 2022, 12:32 GMT
|
Details
Description:
Caprine has a workaround for nested dependencies which are not supported on Electron 14+ (they need remote api) and those dependencies are patched using patch-package module. It's run by postinstall script which is skipped because dependencies are installed with `npm install --ignore-scripts`. I'm also one of the maintainers of Caprine so I'd recommend running `npx patch-package` after npm installs so the packages would be patched until they are fixed upstream. This seems to me like it's a least workflow breaking change possible and is also the fastest one. Additional info: * version: 2.56.1-1 * bug report: https://github.com/sindresorhus/caprine/issues/1887 Steps to reproduce: Run the app. Many features like theme changing are not working. There are errors thrown out in dev tools console regarding loading preload script. |
This task depends upon
Closed by freswa (frederik)
Tuesday, 23 August 2022, 12:32 GMT
Reason for closing: Fixed
Additional comments about closing: caprine-2.56.1-2
Tuesday, 23 August 2022, 12:32 GMT
Reason for closing: Fixed
Additional comments about closing: caprine-2.56.1-2