PDF export not supported on Mac
Need to update fonts to Aptos before and PDF export changes - https://github.com/ironveil/ttf-aptos
Ideas
🌟 ironpress (no browser, no system deps)- Work arounds
- Maybe use output of #19 as a work-around
- Create an SVG and then convert to PDF with svg2pdf
- Add support for Gotenberg API
- Fork and update
rust-playwright - At a minimum, provide support via third-party tools (e.g., agent-browser, obscura, etc.)
Error
Performed on Macbook Pro npm version = 10.7.0 node version = 18.20.2
Failed to install browsers
Error: Failed to download chromium, caused by
Error: ERROR: Playwright does not support chromium on mac15-arm64
at Object.assert (/Users/ilz/Library/Caches/ms-playwright/playwright-rust/driver/package/lib/utils/utils.js:86:15)
at Registry.downloadURL (/Users/ilz/Library/Caches/ms-playwright/playwright-rust/driver/package/lib/utils/registry.js:346:17)
at Object.downloadBrowserWithProgressBar (/Users/ilz/Library/Caches/ms-playwright/playwright-rust/driver/package/lib/install/browserFetcher.js:84:26)
at async validateCache (/Users/ilz/Library/Caches/ms-playwright/playwright-rust/driver/package/lib/install/installer.js:129:9)
at async Object.installBrowsersWithProgressBar (/Users/ilz/Library/Caches/ms-playwright/playwright-rust/driver/package/lib/install/installer.js:80:9)
at async Object.installBrowsers (/Users/ilz/Library/Caches/ms-playwright/playwright-rust/driver/package/lib/cli/driver.js:93:5)
at async Command.<anonymous> (/Users/ilz/Library/Caches/ms-playwright/playwright-rust/driver/package/lib/cli/cli.js:108:9)
The application panicked (crashed).
Message: called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "Exit with exit status: 1" }
Location: acorn-cli/src/main.rs:403
Edited by Wohlgemuth, Jason