Open siaccarino opened 10 months ago
If I manually bump only puppeteer to 21.1.1 it will work but I assume that the result will be unpredictable
Puppeteer is relatively stable, I think we can use the latest version. We have a few (visual) tests so we can probably safely upgrade.
But then:
Puppeteer old Headless deprecation warning:
In the near future `headless: true` will default to the new Headless mode
for Chrome instead of the old Headless implementation. For more
information, please see https://developer.chrome.com/articles/new-headless/.
Consider opting in early by passing `headless: "new"` to `puppeteer.launch()`
If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.
And your pagedjs fork will also somehow react strange and produces overflows - https://gitlab.coko.foundation/pagedjs/pagedjs/-/issues/357 - at least my detection method "if (child.tagName === "P" && child.offsetTop >= pageHeight)" gets triggered.
I guess #672 is related but tests are failing. However: the windows version of the old chromium seems to be take offline. The Linux version is still up.
The installation log is filled with lot of deprecation warnings and at the end the puppeteer dependency fails to install with:
npm ERR! ERROR: Failed to set up Chromium r1011831! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
a simple version bumping fails due to breaking API changes
the full log: