Installing print designer on frappe v15 fails because of canvas

bench build
Assets for Commit 75412ba8728a50adff254687a56d2d9d3cec07c9 don't exist
✔ Application Assets Linked                                                                        dules


yarn run v1.22.22
$ node esbuild --run-build-command
✘ [ERROR] Could not resolve "canvas"

    ../print_designer/print_designer/public/js/pdf.worker.min.js:22:25511:
      22 │ ...a.isNodeJS&&(globalThis.DOMMatrix=require("canvas").DOMMatrix)}();!function checkPath2D(){i...
         ╵                                              ~~~~~~~~

  You can mark the path "canvas" as external to exclude it from the bundle, which will remove this
  error. You can also surround this "require" call with a try/catch block to handle this failure at
  run-time instead of bundle-time.

Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
✘ [ERROR] [plugin frappe-vue-style] Cannot read properties of undefined (reading 'outputs')

    /workspace/frappe-bench/apps/frappe/esbuild/frappe-vue-style.js:10:41:
      10 │       let files = get_files(result.metafile.outputs);
         ╵                                             ^

    at /workspace/frappe-bench/apps/frappe/esbuild/frappe-vue-style.js:10:42
    at /workspace/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1052:21
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

  This error came from the "onEnd" callback registered here:

    /workspace/frappe-bench/apps/frappe/esbuild/frappe-vue-style.js:9:8:
      9 │     build.onEnd((result) => {
        ╵           ~~~~~

    at setup (/workspace/frappe-bench/apps/frappe/esbuild/frappe-vue-style.js:9:9)
    at handlePlugins (/workspace/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:855:23)

 ERROR  There were some problems during build

Error: Build failed with 2 errors:
../print_designer/print_designer/public/js/pdf.worker.min.js:22:25511: ERROR: Could not resolve "canvas"
/workspace/frappe-bench/apps/frappe/esbuild/frappe-vue-style.js:10:41: ERROR: [plugin: frappe-vue-style] Cannot read properties of undefined (reading 'outputs')
    at failureErrorWithLog (/workspace/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1624:15)
    at /workspace/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1266:28
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Done in 14.97s.
Compiling translations for frappe
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/pt_BR/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/nl/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/zh/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/tr/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/eo/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/fr/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/zh_TW/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/bs/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/it/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/ar/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/af/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/fa/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/de/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/es/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/id/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/vi/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/pl/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/ru/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/pt/LC_MESSAGES/frappe.mo
MO file already up to date at /workspace/frappe-bench/sites/assets/locale/fi/LC_MESSAGES/frappe.mo
Compiling translations for print_designer

version of public apps:
erpnext 15.23.1
frappe 15.26.0
hrms 15.20.3
payments 0.0.1

@MrKovalski please check FAQ point 2 or 3 depending on your platform GitHub - frappe/print_designer: Visual print designer for Frappe / ERPNext